[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:04 GMT 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-12-07
            Summary|Compiler mis-optimization   |[12 Regression] Compiler
                   |with posix_memalign         |mis-optimization with
                   |                            |posix_memalign
   Target Milestone|---                         |12.3
     Ever confirmed|0                           |1
      Known to work|                            |8.1.0

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(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.


More information about the Gcc-bugs mailing list