This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor/21250 and address of <built-in>
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Per Bothner <per at bothner dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 20 May 2005 00:57:10 +0200
- Subject: Re: preprocessor/21250 and address of <built-in>
- References: <428A7304.9060302@bothner.com>
Opinions on how to handle this bug?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21250
a) don't print the <built-in> line; or
b) output its line number as 1; or
c) fix its line number (internally) as 1.
c) seems cleanest to me, but I don't really care.
This is especially
an issue for people who use cpp to preprocessor assembler, which
of course we don't really support.
Strangely enough it is in the documentation, though (see invoke.texi).
Objections to this approach? Other suggestions? One alternative is
to fix gas to not complain about line number 0.
No complaints. But note that gas is *right* with complaining about it.
Segher