https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116847
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Oh, and the reason why libstdc++ testsuite on x86_64-linux is clean at least for me is revealed by adding -Winvalid-pch to the command lines of the affected testcases: cc1plus: warning: /home/jakub/src/gcc/obj16/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch: created and used with differing settings of '-mshstk' [-Winvalid-pch] cc1plus: warning: /home/jakub/src/gcc/obj16/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/stdc++.h.gch/O2g.gch: created and used with differing settings of '-mshstk' [-Winvalid-pch]