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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 48359
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48359&action=edit
gcc10-pr94724.patch

Untested fix.  Wanted to create it efficiently, but by building the
COMPONENT_REFs with non-final second operand the flags computed by build2_loc
aren't final either (TREE_SIDE_EFFECTS, TREE_CONSTANT, TREE_READONLY).

Reply via email to