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

--- Comment #7 from vries at gcc dot gnu.org ---
(In reply to vries from comment #6)
> I'm now doing a nobootstrap build and test with and without the patch.

I have reproduced the failure using the nobootstrap build:
...
build/gcc/testsuite/gfortran/../../gfortran
-Bbuild/gcc/testsuite/gfortran/../../
-Bbuild/arm-linux-gnueabihf/./libgfortran/
src/gcc/testsuite/gfortran.dg/pr43984.f90 -fno-diagnostics-show-caret
-fdiagnostics-color=never -O -O2 -fno-tree-dominator-opts -fdump-tree-pre -S -o
pr43984.s
src/gcc/testsuite/gfortran.dg/pr43984.f90:49:0: internal compiler error: RTL
check: expected code 'reg', have 'const_int' in rhs_regno, at rtl.h:1710
0x886fd5 rtl_check_failed_code1(rtx_def const*, rtx_code, char const*, int,
char const*)
        src/gcc/rtl.c:731
0xcd9c25 rhs_regno
        src/gcc/rtl.h:1710
0xd0f6bb gen_split_2634(rtx_insn*, rtx_def**)
        src/gcc/config/arm/arm.md:9341
0x110a23d split_7
        src/gcc/config/arm/arm.md:9326
0x1118f0f split_12
        src/gcc/config/arm/neon.md:4372
0x111fd37 split_insns(rtx_def*, rtx_def*)
        src/gcc/config/arm/sync.md:379
0x4f0d59 try_split(rtx_def*, rtx_def*, int)
        src/gcc/emit-rtl.c:3664
0x81e53b split_insn
        src/gcc/recog.c:2919
0x81e925 split_all_insns()
        src/gcc/recog.c:3009
0x8215e1 rest_of_handle_split_after_reload
        src/gcc/recog.c:3956
0x821625 execute
        src/gcc/recog.c:3985
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1

FAIL: gfortran.dg/pr43984.f90   -O  (internal compiler error)
FAIL: gfortran.dg/pr43984.f90   -O  (test for excess errors)
...

Reply via email to