gcc-3.0.1 generates invalid assembler (undefined label) on sparc

Niels Möller nisse@lysator.liu.se
Tue Jan 1 13:37:00 GMT 2002


Jeff Sturm <jsturm@one-point.com> writes:

> On 1 Jan 2002, Niels Möller wrote:
> > Looking for the closest match for that context, the changed line
> > is line 2704.
> 
> Oh... you're using the branch.  Yes, that changes things.

I downloaded the gcc-3.0.3 release tarball.

> > 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.
> 
> The patch isn't backwards, but "delete_insn" was since renamed to
> "delete_related_insns" and the original delete_insn has a new meaning.
> 
> I don't know what the equivalent on 3.0.3 is, perhaps remove_insn.

Are you suggesting that I try changing the delete_insn to remove_insn
on that line? I did that, and it compiled, but testing if it works
have to wait for tomorrow.

> You can enter a PR if you like, but I have a suspicion the eventual fix
> will be "upgrade to 3.1" if that solves the problem.

When is that scheduled? I would have expected that bugs that generate
invalid assembler be fixed on the 3.0.x branch, but I'm not very
familiar with the gcc process.

Regards,
/Niels



More information about the Gcc-bugs mailing list