[Bug testsuite/123135] [16 regression] g++.dg/warn/Wstringop-overflow-6.C FAILs on Solaris

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 6 05:15:57 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123135

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-03-06
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |testsuite
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The testcase specifically has `-Wall -Wsystem-headers` in it. 

I think it might be best if it adds -Wno-unknown-pragmas for solaris targets.
Since GCC does not support the pragmas that located in solaris's C headers.


More information about the Gcc-bugs mailing list