[Issue 22224] [REG 2.097.0] compiler segfaults with -profile
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 23 11:57:57 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22224
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12991 "Fix Issue 22224 - [REG 2.097.0] compiler
segfaults with -profile" was merged into stable:
- 8c83c07640d4171708052cda3436ae05c349980b 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/12991
--
More information about the Digitalmars-d-bugs
mailing list