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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-01-31
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |anlauf at gcc dot 
gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from anlauf at gcc dot gnu.org ---
Created attachment 54377
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54377&action=edit
Patch

Bill,

can you please try the attached patch?

It adds a check in find_array_section to prevent interpreting an mpz
non-integer constant as an integer.  This should provide a cleaner
error recovery.

Regtested on x86_64-pc-linux-gnu.

And thanks for the traceback.  valgrind did not show anything.

Reply via email to