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

--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Created attachment 54902
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54902&action=edit
Add missing constant type to m2tree_IsAConstant

The function m2block_RememberConstant calls m2tree_IsAConstant.  However
IsAConstant does not recognise TREE_CODE(t) == CONSTRUCTOR as a constant.
This proposed patch updates IsAConstant and in turn fixes the PR.

Reply via email to