https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010
--- Comment #26 from Gerald Pfeifer <gerald at pfeifer dot com> --- For the sake of completeness, there are a few differences in test results - alas for two codebases 24 hours apart, so it's not just your patch vs my hack that is different. < 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)