[Bug debug/124811] Non-deterministic DWARF debug info (.debug_info, .debug_loclists) when using precompiled headers

"nazar.kazakov at codethink dot co.uk via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124811

--- Comment #13 from Nazar Kazakov <nazar.kazakov at codethink dot co.uk> ---
> The master branch has been updated by Patrick Palka <[email protected]>:
> 
> https://gcc.gnu.org/g:cc08be7bf549072bf3699a57d3d37222e8c1087d
> 
> commit r17-3240-gcc08be7bf549072bf3699a57d3d37222e8c1087d
> Author: Patrick Palka <[email protected]>
> Date:   Wed Aug 12 15:58:39 2026 -0400
> 
>     c++: do not hash TYPENAME_TYPEs on pointers [PR124811]


> *** Bug 126707 has been marked as a duplicate of this bug. ***


I've tested this fix on the duplicate bug and it indeed works 👍

Tested by applying the patch on top of gcc-16.2.0 and building glslang ~1000
times, all build results were the same. Without this patch it took 127 builds
to get non-reproducibility.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.