[Bug debug/124811] Non-deterministic DWARF debug info (.debug_info, .debug_loclists) when using precompiled headers
nazar.kazakov at codethink dot co.uk
gcc-bugzilla@gcc.gnu.org
Tue Aug 18 17:39:56 GMT 2026
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 <ppalka@gcc.gnu.org>:
>
> https://gcc.gnu.org/g:cc08be7bf549072bf3699a57d3d37222e8c1087d
>
> commit r17-3240-gcc08be7bf549072bf3699a57d3d37222e8c1087d
> Author: Patrick Palka <ppalka@redhat.com>
> 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.
More information about the Gcc-bugs
mailing list