linux-origin
[Top] [All Lists]

Re: compiler bug?

To: "Ulf Carlsson" <ulfc@xxxxxxxxxxxxxxxxxxxx>, "Kanoj Sarcar" <kanoj@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: compiler bug?
From: "John Hawkes" <hawkes@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 May 2000 11:29:12 -0700
Cc: <ralf@xxxxxxxxxxx>, <linux-origin@xxxxxxxxxxx>
References: <Pine.LNX.4.21.0004251659060.1735-100000@calypso.engr.sgi.com>
Reply-to: "John Hawkes" <hawkes@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-origin@xxxxxxxxxxx
> Hm.. this is actually the code that makes it crash:
>
> .macro COMMENT
> # 1 "comment"
> .endm
>
> .ent foo, 0
> COMMENT
> nop
> .end foo
>
> .ent bar, 0
> COMMENT
> nop
> .end bar
>
> The preprocessor adds a source line comment when it finds the ifdef
you've
> added.  The same source line comment is being used several times when
you use
> the macros.  This nukes the assembler.  It's the same for both the
current CVS
> and the version we're using for the kernel compiles.  I'll see what I
can do.

Can anyone please suggest a workaround?  I'm stuck right now.

John


<Prev in Thread] Current Thread [Next in Thread>