https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97955
Bug ID: 97955 Summary: [11 Regression] ICE in build_array_type_1, at tree.c:8264 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Changed between 20200823 and 20201004 : $ cat z1.c void f (int n, int a[n]); void f (int *b) {} $ gcc-11-20201122 -c z1.c z1.c:2:1: internal compiler error: Segmentation fault 2 | void f (int *b) {} | ^~~~ 0xb42eff crash_signal ../../gcc/toplev.c:330 0xdbbf5d build_array_type_1 ../../gcc/tree.c:8264 0x62930b attr_access::array_as_string[abi:cxx11](tree_node*) const ../../gcc/attribs.c:2299 0x6ff9cd warn_parm_array_mismatch(unsigned int, tree_node*, tree_node*) ../../gcc/c-family/c-warn.c:3435 0x6421a4 start_function(c_declspecs*, c_declarator*, tree_node*) ../../gcc/c/c-decl.c:9591 0x689236 c_parser_declaration_or_fndef ../../gcc/c/c-parser.c:2444 0x690a47 c_parser_external_declaration ../../gcc/c/c-parser.c:1777 0x691569 c_parser_translation_unit ../../gcc/c/c-parser.c:1650 0x691569 c_parse_file() ../../gcc/c/c-parser.c:21882 0x6e0772 c_common_parse_file() ../../gcc/c-family/c-opts.c:1198