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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |WONTFIX
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=34971,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=32244

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I should note simplify_rotate in tree-ssa-forwprop.cc does not generate rotates
for types that don't have the same precision as the mode which was done since
that function was added and has the following comment:
  /* Only create rotates in complete modes.  Other cases are not
     expanded properly.  */


Oh fold_binary used to create these too.  But the fix for PR 34971 changed that
and added an assert to expand_expr_real_1 to assert this case.

I should note we should document that behavior though.

Changing this to won't fix as the middle-end is asserting that we can't handle
it now.

Reply via email to