This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/31391] [4.3 Regression] undefined label with -O -g due to cfglayout
- 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: 30 Mar 2007 20:16:20 -0000
- Subject: [Bug debug/31391] [4.3 Regression] undefined label with -O -g due to cfglayout
- References: <bug-31391-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from steven at gcc dot gnu dot org 2007-03-30 21:16 -------
At the end of loop2, the tryagain label is turned into a deleted label note.
This happens because the label has zero uses left in cfglayout. There are only
unconditional jumps to it, unconditional jumps are removed when going into
cfglayout mode (any edge can fall through to any block), and apparently we
rebuild jump labels. Which shouldn't happen, I think.
Anyway, definitely mine.
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.3 Regression] undefined |[4.3 Regression] undefined
|label with -O -g |label with -O -g due to
| |cfglayout
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31391