From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 17F803857B9D; Wed, 19 Oct 2022 14:34:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 17F803857B9D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666190074; bh=M1WqxOXbZVHVGYZqmTvGZ0//oVQ11HPR36nQB4BrBTA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=x/K1Uetd3x/WMSOvsMAZ+WXhhLvx9qTFzM8SnC1ncjp/ozcgY82whnv5lLEFT8g2Y yIArdouuGYwRVfYsStgm7wp+9IPX5RDNRunqWi2tVrlRbGN7rG+UsAoUseZtWMy0/7 4uxt+vG8kZpd1ssDtnFTFUQfxROvtBd3Cc1eUmDQ= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/62133] internal compiler error:in classify_argument, at config/i386/i386.c:6240 when using #pragma GCC target ("arch=core-avx2") Date: Wed, 19 Oct 2022 14:34:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.3 X-Bugzilla-Keywords: ice-on-valid-code, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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: Message-ID: In-Reply-To: References: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D62133 --- Comment #3 from Zdenek Sojka --- (In reply to Zdenek Sojka from comment #2) > Another testcase, for C code: > $ cat testcase.c=20 > __bf16 __attribute__((__vector_size__(8))) foo(void) {} > $ x86_64-pc-linux-gnu-gcc testcase.c=20 > testcase.c: In function 'foo': > testcase.c:1:1: internal compiler error: in classify_argument, at > config/i386/i386.cc:2523 > 1 | __bf16 __attribute__((__vector_size__(8))) foo(void) {} > | ^~~~~~ > 0x8437a7 classify_argument > /repo/gcc-trunk/gcc/config/i386/i386.cc:2523 > 0x1788e56 classify_argument > /repo/gcc-trunk/gcc/config/i386/i386.cc:2543 > 0x1788f28 examine_argument > /repo/gcc-trunk/gcc/config/i386/i386.cc:2580 > 0x17898af ix86_return_in_memory > /repo/gcc-trunk/gcc/config/i386/i386.cc:4265 > 0x1044e71 aggregate_value_p(tree_node const*, tree_node const*) > /repo/gcc-trunk/gcc/function.cc:2119 > 0x1049981 allocate_struct_function(tree_node*, bool) > /repo/gcc-trunk/gcc/function.cc:4848 > 0xd596a4 store_parm_decls() > /repo/gcc-trunk/gcc/c/c-decl.cc:10434 > 0xdbdced c_parser_declaration_or_fndef > /repo/gcc-trunk/gcc/c/c-parser.cc:2612 > 0xdc5eb3 c_parser_external_declaration > /repo/gcc-trunk/gcc/c/c-parser.cc:1833 > 0xdc68d3 c_parser_translation_unit > /repo/gcc-trunk/gcc/c/c-parser.cc:1695 > 0xdc68d3 c_parse_file() > /repo/gcc-trunk/gcc/c/c-parser.cc:24213 > 0xe28a61 c_common_parse_file() > /repo/gcc-trunk/gcc/c-family/c-opts.cc:1247 > Please submit a full bug report, with preprocessed source (by using > -freport-bug). > Please include the complete backtrace with any bug report. > See for instructions. My apologies, the above belongs to PR107261=