From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EBF77388A03C; Wed, 27 Jan 2021 09:00:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EBF77388A03C From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/98849] New: [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403 Date: Wed, 27 Jan 2021 09:00:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget Message-ID: 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: Wed, 27 Jan 2021 09:00:49 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98849 Bug ID: 98849 Summary: [11 Regression] ICE in expand_shift_1, at expmed.c:2658 since g:7432f255b70811dafaf325d9403 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: clyon at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: arm-linux-gnueabi Since the revision the following fails: $ cat shift.c typedef int V __attribute__((vector_size(4 * sizeof(int)))); V foo_x, foo_y; V foo() { return foo_x << foo_y[0]; } $ arm-linux-gnueabi-gcc shift.c -mcpu=3Diwmmxt -c during RTL pass: expand shift.c: In function =E2=80=98foo=E2=80=99: shift.c:3:24: internal compiler error: in expand_shift_1, at expmed.c:2658 3 | V foo() { return foo_x << foo_y[0]; } | ~~~~~~^~~~~~~~~~~ 0x5ee097 expand_shift_1 =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/exp= med.c:2658 0x8360d5 expand_variable_shift(tree_code, machine_mode, rtx_def*, tree_node= *, rtx_def*, int) =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/exp= med.c:2699 0x8452b1 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/exp= r.c:9631 0x74b3e5 expand_gimple_stmt_1 =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/cfg= expand.c:3946 0x74b3e5 expand_gimple_stmt =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/cfg= expand.c:4007 0x7510ea expand_gimple_basic_block =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/cfg= expand.c:6044 0x7510ea execute =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/cfg= expand.c:6728 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=