[Issue 23055] importC: using compound-literal array as pointer in CTFE gives 'dereference of invalid pointer'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 25 19:57:48 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23055

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

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

--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #15121 "fix Issue 23055 - importC: using
compound-literal array as pointer in CTFE gives 'dereference of invalid
pointer'" was merged into master:

- 0cfd4558fef00c381e0e1a165211cb9506bc9339 by Walter Bright:
  fix Issue 23055 - importC: using compound-literal array as pointer in CTFE
gives 'dereference of invalid pointer'

- 5ec0ef3f8e641a829f217d10d47a0d081848ec6a by Walter Bright:
  fix Issue 23055 - importC: using compound-literal array as pointer in CTFE
gives 'dereference of invalid pointer'

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

--


More information about the Digitalmars-d-bugs mailing list