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: Building CFG on machine without jumps to label


>>>>> "Alexandre" == Alexandre Oliva <aoliva@redhat.com> writes:
 
    Alexandre> Ok to install anyway?

Actually, this patch contains what looks like a thinko:

+           rtx note = find_reg_note (REG_NOTES (insn), REG_LABEL, NULL_RTX);

That should probably be `find_reg_note (insn, REG_LABEL, NULL_RTX)'.

Otherwise, you'll a) never find the note, and b) crash if there are no
notes.

You didn't note where you bootstrapped this change, but I can tell you
that it doesn't bootstrap on IRIX 6.5. :-(

I'm testing the above change now...

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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