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



--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2012-12-14 
15:50:17 UTC ---

Backtrace:

/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/pr51447.c:27:1: internal

compiler error: in mark_jump_label_1, at jump.c:1134^M

0x40000000005c204f mark_jump_label_1^M

        ../../gcc/gcc/jump.c:1134^M

0x40000000005c1d5f mark_jump_label_1^M

        ../../gcc/gcc/jump.c:1194^M

0x40000000005c1ac7 mark_jump_label(rtx_def*, rtx_def*, int)^M

        ../../gcc/gcc/jump.c:1061^M

0x40000000005c2307 mark_all_labels^M

        ../../gcc/gcc/jump.c:303^M

0x40000000005c2307 rebuild_jump_labels_1^M

        ../../gcc/gcc/jump.c:83^M

0x40000000005c2733 rebuild_jump_labels(rtx_def*)^M

        ../../gcc/gcc/jump.c:103^M

0x400000000037014f cfg_layout_finalize()^M

        ../../gcc/gcc/cfgrtl.c:3805^M

0x4000000000a3dc87 rest_of_handle_reorder_blocks^M

        ../../gcc/gcc/bb-reorder.c:2225^M



(gdb) p debug_rtx (label)

(note/s 18 17 15 3 ("nonlocal_lab") NOTE_INSN_DELETED_DEBUG_LABEL 5)

(gdb) p debug_rtx (x)

(label_ref:DI (note/s 18 17 15 3 ("nonlocal_lab") NOTE_INSN_DELETED_DEBUG_LABEL

5))

(gdb) p debug_rtx (insn)

(insn 10 51 59 2 (set (reg:DI 1 %r1)

        (label_ref:DI (note/s 18 17 15 3 ("nonlocal_lab")

NOTE_INSN_DELETED_DEBUG_LABEL 5)))

/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/pr51447.c:21 83

{*pa.md:2590}

     (insn_list:REG_LABEL_OPERAND 18 (nil)))



;; For loading the address of a label while generating PIC code.

;; Note since this pattern can be created at reload time (via movsi), all

;; the same rules for movsi apply here.  (no new pseudos, no temporaries).

(define_insn ""

  [(set (match_operand 0 "pmode_register_operand" "=a")

        (match_operand 1 "pic_label_operand" ""))]

  "TARGET_PA_20"

  "*

Reply via email to