[Bug c/89045] New: [9 Regression] ICE in get_parm_info, at c/c-decl.c:7518
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Jan 24 17:52:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89045
Bug ID: 89045
Summary: [9 Regression] ICE in get_parm_info, at
c/c-decl.c:7518
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Changed before 20180429, gcc-8 compiles it :
$ cat z1.c
void f (int x)
{
void g (int [(int){ x }]);
}
$ gcc-8 -c z1.c
$
$ gcc-9-20190120 -c z1.c
z1.c: In function 'f':
z1.c:3:3: internal compiler error: in get_parm_info, at c/c-decl.c:7518
3 | void g (int [(int){ x }]);
| ^~~~
0x5e0b57 get_parm_info(bool, tree_node*)
../../gcc/c/c-decl.c:7518
0x6226a8 c_parser_parms_list_declarator
../../gcc/c/c-parser.c:4024
0x622810 c_parser_parms_declarator
../../gcc/c/c-parser.c:3940
0x61c491 c_parser_direct_declarator_inner
../../gcc/c/c-parser.c:3868
0x630731 c_parser_declaration_or_fndef
../../gcc/c/c-parser.c:1999
0x62ffba c_parser_compound_statement_nostart
../../gcc/c/c-parser.c:5068
0x6300a6 c_parser_compound_statement
../../gcc/c/c-parser.c:4980
0x63180a c_parser_declaration_or_fndef
../../gcc/c/c-parser.c:2352
0x6368b3 c_parser_external_declaration
../../gcc/c/c-parser.c:1653
0x637379 c_parser_translation_unit
../../gcc/c/c-parser.c:1534
0x637379 c_parse_file()
../../gcc/c/c-parser.c:19840
0x67d7f0 c_common_parse_file()
../../gcc/c-family/c-opts.c:1155
More information about the Gcc-bugs
mailing list