Thread overview
[Issue 22224] [REG 2.097.0] compiler segfaults with -profile
Aug 19
Dlang Bot
Aug 23
Dlang Bot
Sep 07
Dlang Bot
August 19
https://issues.dlang.org/show_bug.cgi?id=22224

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@UplinkCoder created dlang/dmd pull request #12991 "Fix Issue 22224" fixing this issue:

- Fix Issue 22224

https://github.com/dlang/dmd/pull/12991

--
August 19
https://issues.dlang.org/show_bug.cgi?id=22224

uplink.coder@googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |regression

--
August 23
https://issues.dlang.org/show_bug.cgi?id=22224

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot@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

--
September 07
https://issues.dlang.org/show_bug.cgi?id=22224

--- Comment #3 from Dlang Bot <dlang-bot@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

--