[Issue 14831] Each function local symbols should have unique mangled name

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 1 11:42:49 UTC 2021


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

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

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

--- Comment #13 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12235 "Fix  14831 - Each function local symbols should
have unique mangled name" was merged into stable:

- 1d2b5ec75d3bad4f33ccacdf5fe4913d2b512a47 by MoonlightSentinel:
  Fix  14831 - Each function local symbols should have unique mangled name

  PR #12119 already fixed collisions for several declarations but missed
  local variables.

  The check for `isDataSeg` was a remnant of the old error raised for
  `static`/`__gshared` variables. Removing it enables the mangling fixup
  for local variables.

  Note that this doesn't fix https://issues.dlang.org/show_bug.cgi?id=10619
  which is unrelated to the mangling.

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

--


More information about the Digitalmars-d-bugs mailing list