From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 530943858C56; Wed, 19 Oct 2022 03:20:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 530943858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666149631; bh=qn+ZE4Ki4nUyjQVY+I85E9PZfKurN2FNiThSq47Bc8s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=feLlUspd530HfvHdEVx3PB8lJLCc1kpDmRlaWil+TNLhq/ryxztyJ1RVVp9cDrqne kgp4mv27/kkPbpuFPKbBXKtMxBYw+LhF6q7Mv9N2+iW9XQ9DLnu9OkdCw5YZHOg7Mn tlYLpvSMOn+LJ+AVq3P4+pablj9HCAuWXmheVpQk= From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107304] internal compiler error: in convert_move, at expr.cc:220 with -march=tigerlake Date: Wed, 19 Oct 2022 03:20:30 +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.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com 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=3D107304 --- Comment #13 from H.J. Lu --- A simple testcase: [hjl@gnu-tgl-3 pr107304]$ cat y1.c typedef struct { unsigned char v __attribute__((aligned(256))) __attribute__ ((vector_size(64 * sizeof(unsigned char)))); } stress_vec_u8_64_t; void __attribute__ ((target ("arch=3Dcore2"))) stress_vecshuf_u8_64(stress_vec_u8_64_t *data) { data->v +=3D data->v; } [hjl@gnu-tgl-3 pr107304]$ make y1.s /export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/ -march=3Dtigerlake -S y1.c during RTL pass: expand y1.c: In function =E2=80=98stress_vecshuf_u8_64=E2=80=99: y1.c:8:11: internal compiler error: in convert_move, at expr.cc:219 8 | data->v +=3D data->v; | ~~~~~~~~^~~~~~~~~~ 0xe7c94c convert_move(rtx_def*, rtx_def*, int) /export/gnu/import/git/gitlab/x86-gcc/gcc/expr.cc:219 0xe8105c convert_modes(machine_mode, machine_mode, rtx_def*, int) /export/gnu/import/git/gitlab/x86-gcc/gcc/expr.cc:924 0xe9b586 store_field /export/gnu/import/git/gitlab/x86-gcc/gcc/expr.cc:7780 0xe92c98 expand_assignment(tree_node*, tree_node*, bool) /export/gnu/import/git/gitlab/x86-gcc/gcc/expr.cc:5904 0xcfb349 expand_gimple_stmt_1 /export/gnu/import/git/gitlab/x86-gcc/gcc/cfgexpand.cc:3946 0xcfb73e expand_gimple_stmt /export/gnu/import/git/gitlab/x86-gcc/gcc/cfgexpand.cc:4044 0xd03a0c expand_gimple_basic_block /export/gnu/import/git/gitlab/x86-gcc/gcc/cfgexpand.cc:6096 0xd05f21 execute /export/gnu/import/git/gitlab/x86-gcc/gcc/cfgexpand.cc:6822 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. make: *** [Makefile:54: y1.s] Error 1 [hjl@gnu-tgl-3 pr107304]$=