This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19522] Fix GCC so that a nonlocal label won't appear after local labels.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2005 06:39:18 -0000
- Subject: [Bug tree-optimization/19522] Fix GCC so that a nonlocal label won't appear after local labels.
- References: <20050119055804.19522.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-19 06:39 -------
I think the problem is in remove_bb.
This is the only place where we move lables around really.
basically here:
block_stmt_iterator new_bsi = bsi_start (new_bb);
we should just skip over the first label if there is one.
I will try to test this in a little bit.
--
What |Removed |Added
----------------------------------------------------------------------------
Version|unknown |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19522