On Thu, 20 Nov 2025, Alejandro Colomar wrote: > Hi Joseph, > > On Thu, Nov 20, 2025 at 09:47:31PM +0000, Joseph Myers wrote: > > On Wed, 19 Nov 2025, Alejandro Colomar wrote: > > > > > + type_name = c_parser_type_name (parser, true); > > > + // Can return NULL? Why? > > > > I don't think that's mysterious, it's simply the error return value. > > But is it an error that I can reproduce with some C source code? Or is > it an internal compiler error?
It's an error return for various syntax errors inside a type name, not an ICE. Try something like "int(!)" as a type name. Or if that doesn't work, follow the logic in type name parsing to find other paths that do return NULL. -- Joseph S. Myers [email protected]
