This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/28764] New: libjava build failure on sh4
- From: "kkojima at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2006 00:23:12 -0000
- Subject: [Bug rtl-optimization/28764] New: libjava build failure on sh4
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I'd like to add Joern to the list.
sh4-unknown-linux-gnu build fails during libjave build with:
../../../ORIG/trunk/libjava/classpath/javax/swing/plaf/basic/BasicTextUI.java:
In class 'javax.swing.plaf.basic.BasicTextUI':
../../../ORIG/trunk/libjava/classpath/javax/swing/plaf/basic/BasicTextUI.java:
In method
'javax.swing.plaf.basic.BasicTextUI.modelToView(javax.swing.text.JTextComponent,int,javax.swing.text.Position$Bias)':
../../../ORIG/trunk/libjava/classpath/javax/swing/plaf/basic/BasicTextUI.java:1213:
error: missing REG_EH_REGION note in the end of bb 15
../../../ORIG/trunk/libjava/classpath/javax/swing/plaf/basic/BasicTextUI.java:1213:
error: in basic block 15:
../../../ORIG/trunk/libjava/classpath/javax/swing/plaf/basic/BasicTextUI.java:1213:
error: flow control insn inside a basic block
(insn 87 86 267 15
../../../ORIG/trunk/libjava/classpath/javax/swing/plaf/basic/BasicTextUI.java:1201
(set (reg:SI 173 [ D.182312 ])
(mem/f:SI (plus:SI (reg/f:SI 210)
(const_int 8 [0x8])) [15 S4 A32])) 176 {movsi_ie}
(insn_list:REG_DEP_TRUE 86 (nil))
(expr_list:REG_DEAD (reg/f:SI 210)
(expr_list:REG_EH_REGION (const_int 1 [0x1])
(nil))))
../../../ORIG/trunk/libjava/classpath/javax/swing/plaf/basic/BasicTextUI.java:1213:
internal compiler error: in rtl_verify_flow_info_1, at cfgrtl.c:1945
It looks this starts just after the merge from the classpath 0.92.
gdb shows that the above basic block 15 looks like:
(note 85 278 86 15 [bb 15] NOTE_INSN_BASIC_BLOCK)
(insn 86 85 87 15 ./BasicTextUI.java:1201 (set (reg/f:SI 210)
(plus:SI (reg:SI 174 [ D.10115 ])
(const_int 64 [0x40]))) 41 {*addsi3_compact} (nil)
(expr_list:REG_DEAD (reg:SI 174 [ D.10115 ])
(nil)))
(insn 87 86 267 15 ./BasicTextUI.java:1201 (set (reg:SI 173 [ D.10117 ])
(mem/f:SI (plus:SI (reg/f:SI 210)
(const_int 8 [0x8])) [80 S4 A32])) 176 {movsi_ie}
(insn_list:REG_DEP_TRUE 86 (nil))
(expr_list:REG_DEAD (reg/f:SI 210)
(expr_list:REG_EH_REGION (const_int 1 [0x1])
(nil))))
(insn 267 87 268 15 ./BasicTextUI.java:1201 (set (reg:SI 253)
(const:SI (unspec [
(symbol_ref:SI ("__fpscr_values") [flags 0x40] <var_decl
0xb7ec7420 __fpscr_values>)
] 7))) -1 (nil)
(nil))
(insn 268 267 269 15 ./BasicTextUI.java:1201 (set (reg:SI 254)
(plus:SI (reg:SI 253)
(reg:SI 12 r12))) -1 (nil)
(nil))
(insn 269 268 270 15 ./BasicTextUI.java:1201 (set (reg:SI 252)
(mem/u/c:SI (reg:SI 254) [0 S4 A32])) -1 (nil)
(expr_list:REG_EQUAL (symbol_ref:SI ("__fpscr_values") [flags 0x40]
<var_decl 0xb7ec7420 __fpscr_values>)
(nil)))
(insn 270 269 271 15 ./BasicTextUI.java:1201 (set (reg:SI 255)
(plus:SI (reg:SI 252)
(const_int 4 [0x4]))) -1 (nil)
(nil))
(insn 271 270 272 15 ./BasicTextUI.java:1201 (set (reg/f:SI 251)
(reg:SI 255)) -1 (nil)
(expr_list:REG_EQUAL (const:SI (plus:SI (symbol_ref:SI ("__fpscr_values")
[flags 0x40] <var_decl 0xb7ec7420 __fpscr_values>)
(const_int 4 [0x4])))
(nil)))
(insn 272 271 88 15 ./BasicTextUI.java:1201 (set (reg/v:PSI 151 )
(mem/s/c:PSI (reg/f:SI 251) [125 __fpscr_values+4 S4 A32])) -1 (nil)
(nil))
and insn 267-272 are inserted with emit_insn_after at mode-switching.c:633.
--
Summary: libjava build failure on sh4
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, build
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kkojima at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh4-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28764