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

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 48036
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48036&action=edit
gcc10-pr94179.patch

Untested fix.
And/or we could limit the match.pd optimization to GIMPLE only, as at least the
C FE doesn't seem to be prepared to handle MEM_REFs and it is unclear if this
is the only spot that needs fixing.

Reply via email to