[Bug tree-optimization/106073] [12/13 Regression] wrong code at -O3 on x86_64-linux-gnu

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 24 08:28:19 GMT 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Keywords|                            |needs-bisection, wrong-code
   Last reconfirmed|                            |2022-06-24
            Summary|wrong code at -O3 on        |[12/13 Regression] wrong
                   |x86_64-linux-gnu            |code at -O3 on
                   |                            |x86_64-linux-gnu
   Target Milestone|---                         |12.2

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
When we remove:
au = (int*) &au;
The testcase works; au is otherwise unused.
I noticed that the major different between with and without that line was a
loop was unrolled and then SLP vectorized.

I have not looked into it any further really.


More information about the Gcc-bugs mailing list