https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115008
--- Comment #11 from Gerald Pfeifer <gerald at pfeifer dot com> --- (In reply to Gerald Pfeifer from comment #8) > Thank you, Nathaniel! > > Comparing a build from yesterday including my hack from comment #4 > https://gcc.gnu.org/pipermail/gcc-testresults/2024-December/833400.html > with one from today with your proper patch > https://gcc.gnu.org/pipermail/gcc-testresults/2024-December/833487.html > also the latter addresses this issue. For the sake of completeness, there were a few differences in test results - alas for two codebases 24 hours apart, so it's not just the patch vs my hack that is different. (Sorry, I originally pasted this in the wrong report.) < FAIL: g++.dg/pch/line-map-2.C -fno-modules -O2 -g -I. -Dwith_PCH (test for errors, line 6) < FAIL: g++.dg/pch/line-map-2.C -fno-modules -O2 -g -I. -Dwith_PCH (test for excess errors) > XPASS: g++.dg/pch/line-map-3.C -fno-modules -O2 -g -I. -Dwith_PCH (test for > bogus messages, line 2) > XPASS: g++.dg/pch/line-map-3.C -fno-modules -O2 -g -I. -Dwith_PCH at line 17 > (test for bogus messages, line 2) > FAIL: g++.dg/pch/line-map-3.C -fno-modules -O2 -g -I. -Dwith_PCH dg-regexp > 23 not found: "[^[:space:]]*: some warnings being treated as errors" > FAIL: g++.dg/pch/line-map-3.C -fno-modules -O2 -g -I. -Dwith_PCH (test for > excess errors) > FAIL: g++.dg/pch/local-1.C -O2 assembly comparison > FAIL: g++.dg/pch/local-1.C -fno-modules -O2 -I. -Dwith_PCH (test for excess > errors) < FAIL: g++.dg/pch/pr98343.C -O2 assembly comparison < FAIL: g++.dg/pch/pr98343.C -fno-modules -O2 -I. -Dwith_PCH (test for excess errors) < FAIL: g++.dg/pch/wchar-1.C -O2 assembly comparison < FAIL: g++.dg/pch/wchar-1.C -fno-modules -O2 -I. -Dwith_PCH (test for excess errors)