From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2E312398B42B; Thu, 3 Jun 2021 10:40:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E312398B42B From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100887] [12 Regression] ICE: in ix86_expand_vector_init_concat, at config/i386/i386-expand.c:14178 with -mavx512f and __builtin_shufflevector() Date: Thu, 03 Jun 2021 10:40:52 +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: 12.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: 12.0 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: Thu, 03 Jun 2021 10:40:52 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100887 --- Comment #3 from Zdenek Sojka --- Probably related issue: $ cat testcase.c typedef unsigned long long __attribute__((__vector_size__ (16))) U; typedef unsigned long long __attribute__((__vector_size__ (32))) V; typedef unsigned long long __attribute__((__vector_size__ (64))) W; U foo (V v) { return __builtin_shufflevector ((W){}, v, 0, 8); } $ x86_64-pc-linux-gnu-gcc -mavx512f testcase.c=20 testcase.c: In function 'foo': testcase.c:6:1: error: not allowed type combination in 'bit_insert_expr' 6 | foo (V v) | ^~~ W V _2 =3D BIT_INSERT_EXPR <{ 0, 0, 0, 0, 0, 0, 0, 0 }, v, 64>; testcase.c:6:1: internal compiler error: 'verify_gimple' failed 0x10b85ad verify_gimple_in_seq(gimple*) /repo/gcc-trunk/gcc/tree-cfg.c:5161 0xdaf5e6 gimplify_body(tree_node*, bool) /repo/gcc-trunk/gcc/gimplify.c:15404 0xdaf75d gimplify_function_tree(tree_node*) /repo/gcc-trunk/gcc/gimplify.c:15475 0xbd9127 cgraph_node::analyze() /repo/gcc-trunk/gcc/cgraphunit.c:670 0xbdbc57 analyze_functions /repo/gcc-trunk/gcc/cgraphunit.c:1234 0xbdc8ed symbol_table::finalize_compilation_unit() /repo/gcc-trunk/gcc/cgraphunit.c:2508 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=