This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fix enable-checking failures flow.c


Alexandre Oliva wrote:
> 
> On Jul 30, 2001, Richard Henderson <rth@redhat.com> wrote:
> 
> > On Tue, Jul 31, 2001 at 01:17:05AM +0100, Graham Stott wrote:
> >> for (i = 0; i < len; i++)
> >> !       {
> >> !         rtx label_ref = XEXP (XVECEXP (pat, diff_vec_p, i), 0);
> >> !
> >> !         if (GET_CODE (label_ref) == CODE_LABEL)
> >> !           LABEL_NUSES (label_ref)--;
> >> !       }
> 
> > Um, no.  Why would we have anything but a label in
> > an addr_diff_vec?
> 
> Could we possibly have deleted_labels?  That was the reason Graham
> made similar changes elsewhere.

Yes it was a NOTE_INSN_DELETED_LABEL that triggered the abort. I'll
dig up the testcase.

> 
> --
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist    *Please* write to mailing lists, not to me

Graham


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]