October 17, 2019
https://issues.dlang.org/show_bug.cgi?id=14831

Mike Parker <aldacron@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aldacron@gmail.com

--- Comment #7 from Mike Parker <aldacron@gmail.com> ---
A bounty has been set on this issue:

https://www.flipcause.com/secure/cause_pdetails/NjI2NjY=

--
January 04, 2021
https://issues.dlang.org/show_bug.cgi?id=14831

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=20565

--
February 26, 2021
https://issues.dlang.org/show_bug.cgi?id=14831

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg
         Resolution|---                         |WORKSFORME

--- Comment #8 from moonlightsentinel@disroot.org ---
Test case compiles and reports unique manglings.

Tested with DMD64 D Compiler v2.095.1-beta.1-171-gdf3c9e093

--
February 26, 2021
https://issues.dlang.org/show_bug.cgi?id=14831

hsteoh@quickfur.ath.cx changed:

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

--- Comment #9 from hsteoh@quickfur.ath.cx ---
Test case still produces two identical manglings on DMD git master (7a0382177f35b2766c2d0ba60dae5e541d8033e0):

Output of OP's test case:
-------
_D4test4mainFZ1xi
_D4test4mainFZ1xi
-------

This is wrong because `x` in each case refers to a different local variable in a different scope.

--
February 26, 2021
https://issues.dlang.org/show_bug.cgi?id=14831

--- Comment #10 from hsteoh@quickfur.ath.cx ---
Furthermore, all the test cases posted in issue #10619 still fail on DMD git master.

--
February 26, 2021
https://issues.dlang.org/show_bug.cgi?id=14831

--- Comment #11 from moonlightsentinel@disroot.org ---
(In reply to hsteoh from comment #9)
> Test case still produces two identical manglings on DMD git master (7a0382177f35b2766c2d0ba60dae5e541d8033e0):

Sorry, missed the first example.

--
February 27, 2021
https://issues.dlang.org/show_bug.cgi?id=14831

--- Comment #12 from Dlang Bot <dlang-bot@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

--
March 01, 2021
https://issues.dlang.org/show_bug.cgi?id=14831

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

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

--- Comment #13 from Dlang Bot <dlang-bot@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

--
March 06, 2021
https://issues.dlang.org/show_bug.cgi?id=14831

--- Comment #14 from Dlang Bot <dlang-bot@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

--
March 22, 2021
https://issues.dlang.org/show_bug.cgi?id=14831

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=21746

--