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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 6 03:40:52 UTC 2021


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

--- Comment #14 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12253 "merge stable" was merged into master:

- 8b653c5629b930fe8bf956b4be109781f67cb59a 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/12253

--


More information about the Digitalmars-d-bugs mailing list