On Sat, 14 Oct 2023, Andrew Pinski wrote: > When checking to see if we have a function declaration has a conflict due to > promotations, there is no test to see if the type was an error mark and then > calls > c_type_promotes_to. c_type_promotes_to is not ready for error_mark and causes > an > ICE. > > This adds a check for error before the call of c_type_promotes_to. > > OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions.
OK. -- Joseph S. Myers jos...@codesourcery.com