This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-3.0.1 generates invalid assembler (undefined label) on sparc
- From: nisse at lysator dot liu dot se (Niels Möller)
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: 01 Jan 2002 20:31:31 +0100
- Subject: Re: gcc-3.0.1 generates invalid assembler (undefined label) on sparc
- References: <Pine.LNX.4.10.10201011327560.9448-100000@mars.deadcafe.org>
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