[Bug tree-optimization/19522] Fix GCC so that a nonlocal label won't appear after local labels.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 19 06:39:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list