gcc-3.0.1 generates invalid assembler (undefined label) on sparc
Niels Möller
nisse@lysator.liu.se
Tue Jan 1 11:32:00 GMT 2002
Jeff Sturm <jsturm@one-point.com> writes:
> Can you tell me if this patch solves the problem?
I can't apply it.
> Index: reorg.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/reorg.c,v
> retrieving revision 1.67
> diff -u -p -r1.67 reorg.c
> --- reorg.c 2001/10/11 03:16:03 1.67
> +++ reorg.c 2002/01/01 18:21:06
> @@ -2710,7 +2710,7 @@ fill_slots_from_thread (insn, condition,
> if (new_thread == trial)
> new_thread = thread;
> }
> - delete_related_insns (trial);
> + delete_insn (trial);
> }
> else
> new_thread = next_active_insn (trial);
Looking for the closest match for that context, the changed line
is line 2704.
But it already reads "delete_insn (trial);". Is the
patch backwards? If I change the line to "delete_related_insns
(trial);" I get a compile time warning and a link error, there seems
to be no definition of delete_related_insns anywhere.
Regards,
/Niels
More information about the Gcc-bugs
mailing list