http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56242



--- Comment #4 from dave.anglin at bell dot net 2013-02-13 14:09:26 UTC ---

On 2013-02-12 6:03 PM, vries at gcc dot gnu.org wrote:

> I've tried to reproduce this bug by building a cross compiler using the

> hppa2.0w-unknown-linux-gnu target. I managed to build libjava, but I didn't

> manage to reproduce the bug.

Yes. it doesn't reproduce on linux.



>

> The thing I can see that's wrong is in NEXT_INSN (insn 11), which is note 152

> but which should be note 153:

> ...

> (insn 428 427 153 (sequence [

>              (jump_insn:TI 151 427 11 (set (pc)

>                      (if_then_else (eq (reg:SI 28 %r28 [orig:123 D.12040+-2 ]

> [123])

>                              (const_int 10 [0xa]))

>                          (label_ref:SI 165)

>                          (pc)))

> /test/gnu/gcc/gcc/libjava/classpath/gnu/javax/swing/text/html/parser/support/textPreProcessor.java:162

> 28 {*pa.md:1439}

>                   (expr_list:REG_DEAD (reg:SI 28 %r28 [orig:123 D.12040+-2 ]

> [123])

>                      (expr_list:REG_BR_PROB (const_int 2800 [0xaf0])

>                          (nil)))

>               -> 165)

>              (insn 11 151 152 (set (reg:SI 7 %r7 [orig:129 D.12038 ] [129])

>                      (reg:SI 5 %r5 [orig:132 ivtmp.903 ] [132])) 40

> {*pa.md:2211}

>                   (nil))

>          ])

> /test/gnu/gcc/gcc/libjava/classpath/gnu/javax/swing/text/html/parser/support/textPreProcessor.java:162

> -1

>       (nil))

>

> (note 153 428 152 [bb 19] NOTE_INSN_BASIC_BLOCK)

>

> (note 152 153 276 19 ("*L$Jpc=71164") NOTE_INSN_DELETED_LABEL 395)

> ...



I'll give your patch a try later today when my current build and check 

finishes.  I could give you

access to this test system if the change doesn't work out.



Thanks for looking at this bug.

Reply via email to