public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-102938-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102938

            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 power
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-functions 
(internal compiler error)
FAIL: libgomp.fortran/parloops-exit-first-loop-alt-2.f95   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
(test for excess errors)
FAIL: libgomp.fortran/parloops-exit-first-loop-alt.f95   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
(internal compiler error)
FAIL: libgomp.fortran/parloops-exit-first-loop-alt.f95   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
(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/./libgfortran/
/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/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libatomic/.libs
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libquadmath/.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_probability)
        /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 <hongtao.liu@intel.com>
Date:   Mon Sep 6 13:48:49 2021 +0800

    Enable auto-vectorization at O2 with very-cheap cost model.

             reply	other threads:[~2021-10-25 21:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-25 21:23 seurer at gcc dot gnu.org [this message]
2021-10-25 21:25 ` [Bug other/102938] " pinskia at gcc dot gnu.org
2021-10-26  7:09 ` rguenth at gcc dot gnu.org
2022-01-19 14:06 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-102938-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).