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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 27 00:08:14 UTC 2021


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

--- Comment #12 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel updated dlang/dmd pull request #12235 "Fix  14831 - Each
function local symbols should have unique mangled name" fixing this issue:

- 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