[Bug rtl-optimization/41295] New: [4.5 Regression] gfortran.dg/loc_2.f90 -O3 -g fails on SH with orphaned debug_insn
kkojima at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 7 13:05:00 GMT 2009
After vta merge, gfortran.dg/loc_2.f90 fails on sh4-unknown-linux-gnu
for -O3 -g with
loc_2.f90:114:0: internal compiler error: in reload_combine_note_use, at
postreload.c:1097
which is the result of
postreload.c:
1097 gcc_assert (regno < FIRST_PSEUDO_REGISTER);
The problematic regno 1434 came from a debug insn
(debug_insn 1346 1344 1350 3 loc_2.f90:46 (var_location:SI offset (reg:SI 1434
[ ivtmp.132 ])) -1 (nil))
which looks orphaned at postreload pass. There are no other insns
referring to reg 1434 at that pass.
--
Summary: [4.5 Regression] gfortran.dg/loc_2.f90 -O3 -g fails on
SH with orphaned debug_insn
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kkojima at gcc dot gnu dot org
GCC target triplet: sh4-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41295
More information about the Gcc-bugs
mailing list