https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50871
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> --- It's better than what we have today, but I'm not sure it's where we want to get to in the long term. I've been trying a patch that allows the system_header pragma to be disabled when building and testing. This causes testsuite failures due to warnings that can't be controlled by options or diagnostic pragmas: /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/cmath:47: error: #include_next is a GCC extension /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/bits/std_abs.h:40: error: #include_next is a GCC extension /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/cstdlib:77: error: #include_next is a GCC extension /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/cmath:47: error: #include_next is a GCC extension /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/fenv.h:38: error: #include_next is a GCC extension /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/cmath:47: error: #include_next is a GCC extension /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/cmath:47: error: #include_next is a GCC extension /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/cmath:47: error: #include_next is a GCC extension /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/cmath:47: error: #include_next is a GCC extension /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/cmath:47: error: #include_next is a GCC extension /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/cmath:47: error: #include_next is a GCC extension /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/complex:1951: warning: floating point suffix 'if' shadowed by implementation /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/complex:1959: warning: floating point suffix 'i' shadowed by implementation /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/complex:1963: warning: integer suffix 'i' shadowed by implementation /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/complex:1967: warning: floating point suffix 'il' shadowed by implementation /home/jwakely/build/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/complex:1971: warning: integer suffix 'il' shadowed by implementation