public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/28764]  New: libjava build failure on sh4
@ 2006-08-18  0:23 kkojima at gcc dot gnu dot org
  2006-08-18  4:25 ` [Bug target/28764] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2006-08-18  0:23 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2006-12-23 21:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-18  0:23 [Bug rtl-optimization/28764] New: libjava build failure on sh4 kkojima at gcc dot gnu dot org
2006-08-18  4:25 ` [Bug target/28764] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-08-20 22:50 ` mmitchel at gcc dot gnu dot org
2006-08-23  4:35 ` kkojima at gcc dot gnu dot org
2006-08-23 15:20 ` amylaar at gcc dot gnu dot org
2006-08-23 23:54 ` kkojima at gcc dot gnu dot org
2006-08-24 15:32 ` amylaar at gcc dot gnu dot org
2006-08-24 16:22 ` amylaar at gcc dot gnu dot org
2006-08-25 10:56 ` kkojima at gcc dot gnu dot org
2006-08-25 11:07 ` amylaar at gcc dot gnu dot org
2006-08-25 11:25 ` kkojima at gcc dot gnu dot org
2006-08-25 13:44 ` bonzini at gnu dot org
2006-08-25 14:33 ` amylaar at gcc dot gnu dot org
2006-08-25 16:34 ` amylaar at gcc dot gnu dot org
2006-08-25 16:36 ` bonzini at gnu dot org
2006-08-25 17:01 ` amylaar at gcc dot gnu dot org
2006-09-05 21:41 ` kkojima at gcc dot gnu dot org
2006-09-06  6:14 ` pinskia at gcc dot gnu dot org
2006-12-23 21:25 ` ubizjak at gmail dot com

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).