[Bug tree-optimization/108008] [12 Regression] Compiler mis-optimization with posix_memalign

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 7 23:05:48 GMT 2022


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

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #7)
> (In reply to dhsbz from comment #2)
> > (using gcc as of the prior commit shows the behavior as in the bug
> > description). I can't judge if the above commit had fixed an underlying
> > problem that the example was triggering, or if it changed the behavior in an
> > indirect way.
> 
> I think it just changes the IR just ever so slightly which makes the problem
> go latent. As shown sometimes adding and removing vectorization.

Even my example does not show the issue with GCC 11 but does show it with GCC
12.


More information about the Gcc-bugs mailing list