This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: delete_note: Changes to final.c (revision 1.205) breaks mingw
> > ===================================================================
> > RCS file: /cvs/gcc/gcc/gcc/final.c,v
> > retrieving revision 1.204
> > retrieving revision 1.205
> > diff -u -r1.204 -r1.205
> > --- gcc/gcc/final.c 2001/08/27 17:29:57 1.204
> > +++ gcc/gcc/final.c 2001/09/25 15:26:51 1.205
> > @@ -1972,8 +1972,7 @@
> > && NOTE_LINE_NUMBER (insn) == NOTE_LINE_NUMBER (last)
> > && NOTE_SOURCE_FILE (insn) == NOTE_SOURCE_FILE (last)))
> > {
> > - NOTE_LINE_NUMBER (insn) = NOTE_INSN_DELETED;
> > - NOTE_SOURCE_FILE (insn) = 0;
> > + delete_note (insn); <<< function not defined
> > continue;
> > }
> >
> >
> > Shouldn't that be delete_insn (insn)?
> Oops, yes, it should be delete_insn too.
> The problem got in by the fact that Richard didn't reviewed the patch
> introducing delete_note yet and the call is ifdeffed out, so I didn't catch
> it during bootstrap.
I've checked in the fix as obvious to allow bootstrap on platforms with SDB.
Honza
>
> Thanks!
> Honza
> >
> >
> > Danny
> >
> > http://travel.yahoo.com.au - Yahoo! Travel
> > - Got Itchy feet? Get inspired!