From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5F8223858D1E; Fri, 11 Feb 2022 16:37:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F8223858D1E From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/79754] ICE in type_natural_mode with vector for DFP type Date: Fri, 11 Feb 2022 16:37:57 +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: 7.0.1 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 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: Fri, 11 Feb 2022 16:37:57 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D79754 --- Comment #3 from Zdenek Sojka --- This still ICEs on r12-7199: $ x86_64-pc-linux-gnu-gcc testcase.c=20 testcase.c: In function 'foo': testcase.c:2:1: internal compiler error: in type_natural_mode, at config/i386/i386.cc:1978 2 | V foo (V a) { return a * a; } | ^ 0x81e1e7 type_natural_mode /repo/gcc-trunk/gcc/config/i386/i386.cc:1978 0x172382a ix86_return_in_memory /repo/gcc-trunk/gcc/config/i386/i386.cc:4230 0x101084d aggregate_value_p(tree_node const*, tree_node const*) /repo/gcc-trunk/gcc/function.cc:2119 0x10154ac allocate_struct_function(tree_node*, bool) /repo/gcc-trunk/gcc/function.cc:4845 0xd26104 store_parm_decls() /repo/gcc-trunk/gcc/c/c-decl.cc:10160 0xd855c7 c_parser_declaration_or_fndef /repo/gcc-trunk/gcc/c/c-parser.cc:2505 0xd8d8a3 c_parser_external_declaration /repo/gcc-trunk/gcc/c/c-parser.cc:1779 0xd8e2eb c_parser_translation_unit /repo/gcc-trunk/gcc/c/c-parser.cc:1652 0xd8e2eb c_parse_file() /repo/gcc-trunk/gcc/c/c-parser.cc:23348 0xdef9fd c_common_parse_file() /repo/gcc-trunk/gcc/c-family/c-opts.cc:1238 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. but works on powerpc64le (at least, doesn't ICE; I didn't check if the code= is correct): $ powerpc64le-unknown-linux-gnu-gcc testcase.c -c (no output)=