From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0FBBA3857C71; Mon, 23 Nov 2020 16:34:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0FBBA3857C71 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/97955] New: [11 Regression] ICE in build_array_type_1, at tree.c:8264 Date: Mon, 23 Nov 2020 16:34:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2020 16:34:28 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97955 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: gscfq@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=