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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-07-14
     Ever confirmed|0                           |1
           Keywords|                            |ice-on-invalid-code
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed, thanks.

I think the problem is ultimately that shorten_compare doesn't have the
'complain' parameter, so when it's called while we're outputting another
diagnostic and shorten_compare attempts to warn, we run into the crash above.

Reply via email to