[Issue 22224] [REG 2.097.0] compiler segfaults with -profile
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 7 22:52:01 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22224
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13053 "merge stable" was merged into master:
- b8b12503111f6041470b7b167f30ebd54a9a03a5 by Stefan Koch:
Fix issue 22224 - [REG 2.097.0] compiler segfaults with -profile
This fixes an issue where an analysis step inside semantic
assumed that an expression is fully resolved.
That means it has the type field set, to indicate semantic3 has been
sucessfully run.
This turns out not to be the case when -profile is used on a vaargs function.
We now check that type is non null before dereference the pointer.
Thereby averting the segfault.
https://github.com/dlang/dmd/pull/13053
--
More information about the Digitalmars-d-bugs
mailing list