This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cfg_cleanup and loop discovery in cfg_layout mode
> Hello,
>
> > > On Thu, Jul 03, 2003 at 10:39:26AM +0200, Jan Hubicka wrote:
> > > > http://gcc.gnu.org/ml/gcc-patches/2003-06/msg01741.html
> > >
> > > Ok.
> >
> > Thanks! I've updated all the patches for ISO-C prototypes and installed
> > them together (they are too interwinded to be reliably tested
> > separately)
>
> this should fix the breakage the patches caused on
> powerpc-apple-darwin6.3. The problem was that the original code
> removes the label if it occurs in bb 0.
>
> I don't fully understand what Honza wanted the code to do, especially
> why he is handling the case when NOTE_INSN_BASIC_BLOCK comes first
> specially; but I believe this one should work as well.
Yes,
I intended to split the note in between FUNCTION_BEG that should come to
the function_header, and some line number note that should come to the
line note header. but your code looks fine to me too.
Honza