[Bug tree-optimization/100366] [12 Regression] spurious warning - std::vector::clear followed by std::vector::insert(vec.end(), ...) with -O2

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 29 00:17:55 GMT 2025


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.5                        |12.3
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This was fixed for GCC 12.3 and later


More information about the Gcc-bugs mailing list