https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123407
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Iain Buclaw <[email protected]>: https://gcc.gnu.org/g:3b4846980a323688f69d3d912f44c51b5d3c0d90 commit r15-10750-g3b4846980a323688f69d3d912f44c51b5d3c0d90 Author: Iain Buclaw <[email protected]> Date: Thu Jan 29 16:26:21 2026 +0100 d: Fix Segmentation fault with redeclared symbols [PR123407] Issue an error if two symbols with the same assembler name have a mismatched TREE_CODE. PR d/123407 gcc/d/ChangeLog: * decl.cc (get_symbol_decl): Handle declarations with matching assembler names, but different TREE_CODE. gcc/testsuite/ChangeLog: * gdc.dg/pr123407a.d: New test. * gdc.dg/pr123407b.d: New test. (cherry picked from commit 172634608a49603d10b471b0379c71cf53d3e2c0)
