https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127669
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 65727
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65727&action=edit
gcc17-pr127669.patch
Untested fix for the second problem. .BSWAP/.BITREVERSE is similar to
LSHIFT_EXPR in that we can use handle_operand with non-constant idx to access
the most significant limb, even when it is just partial. So, we must tell
handle_operand not to optimize space and assume the most significant partial
limb will only be accessed using constant idx.