Re: [PATCH] gimplefe: Error recovery for invalid declarations [PR117749]

2024-11-29 Thread Richard Biener
> Am 30.11.2024 um 05:44 schrieb Andrew Pinski : > > c_parser_declarator can return null if there was an error, > but c_parser_gimple_declaration was not ready for that. > This fixes that oversight so we don't get an ICE after the error. > > Bootstrapped and tested on x86_64-linux-gnu. Ok R

[PATCH] gimplefe: Error recovery for invalid declarations [PR117749]

2024-11-29 Thread Andrew Pinski
c_parser_declarator can return null if there was an error, but c_parser_gimple_declaration was not ready for that. This fixes that oversight so we don't get an ICE after the error. Bootstrapped and tested on x86_64-linux-gnu. PR c/117749 gcc/c/ChangeLog: * gimple-parser.cc (c_pa