https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107835
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Status|NEW |ASSIGNED
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 53983
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53983&action=edit
gcc13-pr107835.patch
Easiest fix is punt on the new optimization if type is pointer type, in that
case we can't perform the multiplication in the pointer type.