test file: struct containing a pointer
struct S { int* x; }
compile with "dmd -c -betterC test.d", list the names using "nm test.o" (on linux, don't know about windows)
0000000000000000 V _D6object__T10RTInfoImplVAmA2i8i1ZQwyG2m
there's an RTInfoImpl symbol even though D runtime stuff should be disabled by -betterC
from the comments in object.d, RTInfo seems to be used by the precise GC, but garbage collection is listed as unsupported on the betterC spec page so there should be no use for the RTInfo data (or is there?)
Comment #1 by dlang-bot — 2022-05-05T17:04:09Z
@dkorpel created dlang/dmd pull request #14078 "Fix issue 23042 - -betterC still includes RTInfo" fixing this issue:
- Fix issue 23042 - -betterC still includes RTInfo
https://github.com/dlang/dmd/pull/14078
Comment #2 by dlang-bot — 2022-05-06T10:00:19Z
dlang/dmd pull request #14078 "Fix issue 23042 - -betterC still includes RTInfo" was merged into master:
- 729388884d298b32eafa95bc052fc0a67941b89f by Dennis Korpel:
Fix issue 23042 - -betterC still includes RTInfo
https://github.com/dlang/dmd/pull/14078