From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A9B4A3858400; Wed, 19 Oct 2022 14:34:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9B4A3858400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666190056; bh=MZJ1WCv2T6bG0CDRzaQdxELnIQ+t2Ow5bc2+zBaB/qs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bI2OkSEFt3FvJOSrEKkmWkSH5dm9BGQ6InCkZ4txL66bwKjMNuWYP651kvLXZ90+5 +50nGBlLyfbjKEhxtv6nv0zfw/dTG8dD/EuF53o8oenkZKpAtXQfw0ytdyFsd9JDgF kAgtpkqlnctpz9z3/zbYbOE3Q045KLLsWLkMasRs= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107261] ICE: in classify_argument, at config/i386/i386.cc:2523 on __bf16 vect argument or return value Date: Wed, 19 Oct 2022 14:34:12 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: NEW 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=3D107261 --- Comment #1 from Zdenek Sojka --- 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.=