From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 199823858005; Mon, 25 Oct 2021 21:23:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 199823858005 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/102938] New: [12 regression] ICE in fortran test cases after r12-4240 Date: Mon, 25 Oct 2021 21:23:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer 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 bug_severity priority component assigned_to reporter target_milestone 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: Mon, 25 Oct 2021 21:23:54 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102938 Bug ID: 102938 Summary: [12 regression] ICE in fortran test cases after r12-4240 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:2b8453c401b699ed93c085d0413ab4b5030bcdb8, r12-4240 I am seeing these on a power10 machine but they don't ICE on power 9 nor po= wer 8. FAIL: gfortran.dg/intrinsic_modulo_1.f90 -O2 (internal compiler error) FAIL: gfortran.dg/intrinsic_modulo_1.f90 -O2 (test for excess errors) FAIL: libgomp.fortran/parloops-exit-first-loop-alt-2.f95 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-function= s=20 (internal compiler error) FAIL: libgomp.fortran/parloops-exit-first-loop-alt-2.f95 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-function= s=20 (test for excess errors) FAIL: libgomp.fortran/parloops-exit-first-loop-alt.f95 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-function= s=20 (internal compiler error) FAIL: libgomp.fortran/parloops-exit-first-loop-alt.f95 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-function= s=20 (test for excess errors) spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran -B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../ -B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgf= ortran/ /home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/intrinsic_modulo_1.= f90 -fdiagnostics-plain-output -fdiagnostics-plain-output -O2 -pedantic-errors -B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgf= ortran/.libs -L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgf= ortran/.libs -L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgf= ortran/.libs -L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libat= omic/.libs -B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libqu= admath/.libs -L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libqu= admath/.libs -L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libqu= admath/.libs -lm -o ./intrinsic_modulo_1.exe during RTL pass: expand /home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/intrinsic_modulo_1.= f90:21:32: internal compiler error: in prepare_cmp_insn, at optabs.c:4532 0x10ac73eb prepare_cmp_insn /home/seurer/gcc/git/gcc-test/gcc/optabs.c:4532 0x10ac7567 emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*, machine_mode, int, rtx_def*, profile_probability) /home/seurer/gcc/git/gcc-test/gcc/optabs.c:4677 0x106297a7 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int, machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, profile_probabili= ty) /home/seurer/gcc/git/gcc-test/gcc/dojump.c:1220 0x10707fdf do_cmp_and_jump /home/seurer/gcc/git/gcc-test/gcc/expmed.c:6345 0x10707fdf expand_divmod(int, tree_code, machine_mode, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) /home/seurer/gcc/git/gcc-test/gcc/expmed.c:4864 0x1070be9b expand_expr_divmod /home/seurer/gcc/git/gcc-test/gcc/expr.c:8945 0x10735a2b expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) /home/seurer/gcc/git/gcc-test/gcc/expr.c:9582 0x1071b8b3 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/seurer/gcc/git/gcc-test/gcc/expr.c:10519 0x1072afe7 store_expr(tree_node*, rtx_def*, int, bool, bool) /home/seurer/gcc/git/gcc-test/gcc/expr.c:6103 0x1072d57f expand_assignment(tree_node*, tree_node*, bool) /home/seurer/gcc/git/gcc-test/gcc/expr.c:5835 0x1055dd0f expand_gimple_stmt_1 /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:3942 0x1055dd0f expand_gimple_stmt /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:4040 0x10566d9b expand_gimple_basic_block /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:6082 0x10569d2b execute /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:6808 commit 2b8453c401b699ed93c085d0413ab4b5030bcdb8 (HEAD, refs/bisect/bad) Author: liuhongt Date: Mon Sep 6 13:48:49 2021 +0800 Enable auto-vectorization at O2 with very-cheap cost model.=