This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26983] [4.0/4.1/4.2 Regression] Missing label in a nested function with builtin_setjmp/longjmp
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2006 22:52:53 -0000
- Subject: [Bug middle-end/26983] [4.0/4.1/4.2 Regression] Missing label in a nested function with builtin_setjmp/longjmp
- References: <bug-26983-4242@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from steven at gcc dot gnu dot org 2006-07-25 22:52 -------
In the .104.expand dump we have:
(insn 10 9 11 3 (set (reg/f:SI 63)
(label_ref:SI 16)) -1 (nil)
(insn_list:REG_LABEL 16 (nil)))
and
;; Start of basic block 4, registers live: (nil)
(code_label 16 15 52 4 8 "" [1 uses])
But in the .105.sibling dump, we have already lost the label and in fact the
entire basic block 4. Apparently gcc decides that the block is unreachable...?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26983