From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 429073858D34; Tue, 7 Sep 2021 14:58:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 429073858D34 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102230] New: ICE in classify_argument, at config/i386/i386.c:2474 Date: Tue, 07 Sep 2021 14:58:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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 cf_gcctarget 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: Tue, 07 Sep 2021 14:58:59 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102230 Bug ID: 102230 Summary: ICE in classify_argument, at config/i386/i386.c:2474 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-unknown-linux-gnu gcc-12.0.0-alpha20210905 snapshot (g:a827909537cf085e5673ca7816b7bd7151d89f= c5) ICEs when compiling the following testcase, reduced from gcc/testsuite/gcc.target/arm/armv8_2-fp16-arith-2.c: typedef _Float16 float16x4_t __attribute__ ((vector_size (8))); float16x4_t test_float16x4_t (float16x4_t a) { return a; } % x86_64-unknown-linux-gnu-gcc-12.0.0 -c nyecizge.c nyecizge.c: In function 'test_float16x4_t': nyecizge.c:5:1: internal compiler error: in classify_argument, at config/i386/i386.c:2474 5 | { | ^ 0x78253f classify_argument =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210905/work/gcc-12-20210905/gc= c/config/i386/i386.c:2474 0x120239a examine_argument =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210905/work/gcc-12-20210905/gc= c/config/i386/i386.c:2493 0x12058ff ix86_return_in_memory =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210905/work/gcc-12-20210905/gc= c/config/i386/i386.c:4186 0xb2d715 aggregate_value_p(tree_node const*, tree_node const*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210905/work/gcc-12-20210905/gc= c/function.c:2119 0xb321ca allocate_struct_function(tree_node*, bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210905/work/gcc-12-20210905/gc= c/function.c:4845 0x84f23c store_parm_decls() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210905/work/gcc-12-20210905/gc= c/c/c-decl.c:10128 0x8af40f c_parser_declaration_or_fndef =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210905/work/gcc-12-20210905/gc= c/c/c-parser.c:2506 0x8b7a53 c_parser_external_declaration =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210905/work/gcc-12-20210905/gc= c/c/c-parser.c:1780 0x8b84bb c_parser_translation_unit =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210905/work/gcc-12-20210905/gc= c/c/c-parser.c:1653 0x8b84bb c_parse_file() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210905/work/gcc-12-20210905/gc= c/c/c-parser.c:22581 0x919b3d c_common_parse_file() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210905/work/gcc-12-20210905/gc= c/c-family/c-opts.c:1236=