[Bug tree-optimization/124267] [15/16 Regression] False positive -Wrestrict with std::string::operator+ with -O3

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 26 19:53:11 GMT 2026


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|False positive -Wrestrict   |[15/16 Regression] False
                   |with std::string::operator+ |positive -Wrestrict with
                   |with -O3                    |std::string::operator+ with
                   |                            |-O3
           Keywords|                            |false-positive
      Known to fail|                            |15.1.0
   Target Milestone|---                         |15.3


More information about the Gcc-bugs mailing list