This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Building CFG on machine without jumps to label
- To: aoliva at redhat dot com
- Subject: Re: Building CFG on machine without jumps to label
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 06 Jan 2001 23:09:52 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <orsnmwnvoc.fsf@guarana.lsd.ic.unicamp.br>
>>>>> "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