[Bug tree-optimization/77689] Missing vectorization lead to huge performance loss

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 21 07:47:09 GMT 2024


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

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

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

--- Comment #19 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
for the original testcase in comment #0, renaming main to f and changing the
return type to void, the trunk of GCC can optimize the function to just a
return now.

Note the renaming is because of inlining heurstics and the call to reserve is
not being inlined.

So we can close this as fixed.


More information about the Gcc-bugs mailing list