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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Target|                            |powerpc*-*-*
          Component|target                      |testsuite

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So I added this testcase.  The problem is the RTL optimization in 4.9 is
programmed so that it matches part of the case here but we are getting the
operands swapped on the and rtl which is not being matched.

Anyways for 5 and above, the testcase is optimized at the tree level so the RTL
level does not come into play.  The tree level works with the operands swapped
around.

This is just a missed optimization and the testcase can be xfailed as it never
really passed except by accident.

Reply via email to