From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9428C38515F0; Thu, 25 Mar 2021 11:19:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9428C38515F0 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99767] New: [9/10/11 Regression] ICE in expand_direct_optab_fn, at internal-fn.c:3360 Date: Thu, 25 Mar 2021 11:19:18 +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-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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 target_milestone 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: Thu, 25 Mar 2021 11:19:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99767 Bug ID: 99767 Summary: [9/10/11 Regression] ICE in expand_direct_optab_fn, at internal-fn.c:3360 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: aarch64-linux-gnu gcc-11.0.1-alpha20210321 snapshot (g:fc24ea2374259d401a46ce3526688b7e79d4cc= 13) ICEs when compiling the following testcase w/ -march=3Darmv8-a+sve -O1 -fno-tree-dce: int __attribute__ ((simd)) foo (void) { int v =3D 1 / 0; return 0; } % aarch64-linux-gnu-gcc-11.0.1 -march=3Darmv8-a+sve -O1 -fno-tree-dce -w -c yiptql8b.c during RTL pass: expand yiptql8b.c: In function 'foo.simdclone.1': yiptql8b.c:4:7: internal compiler error: in expand_direct_optab_fn, at internal-fn.c:3360 4 | int v =3D 1 / 0; | ^ 0x70a2a1 expand_direct_optab_fn =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/internal-fn.c:3360 0xa15697 expand_call_stmt =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/cfgexpand.c:2749 0xa15697 expand_gimple_stmt_1 =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/cfgexpand.c:3844 0xa15697 expand_gimple_stmt =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/cfgexpand.c:4008 0xa1b41a expand_gimple_basic_block =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/cfgexpand.c:6045 0xa1cfbf execute =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210321/work/gcc-= 11-20210321/gcc/cfgexpand.c:6729=