[Bug preprocessor/21250] [4.1 Regression] line number 0 for <built-in> causes GAS to complain
ppluzhnikov at charter dot net
gcc-bugzilla@gcc.gnu.org
Thu Sep 15 23:31:00 GMT 2005
------- Additional Comments From ppluzhnikov at charter dot net 2005-09-15 23:31 -------
The line '#0 <built-in>' causes trouble for other tools that work with
the output from 'gcc -E'; e.g. edgcpfe refuses to parse it:
$ gcc -E - < /dev/null > junk.i && edgcpfe --c junk.i
"<stdin>", line 1: error: invalid line number
# 0 "<built-in>"
^
1 error detected in the compilation of "junk.i".
What is the problem of emitting '#1 <built-in>' anyway?
Since neither corresponds to a "real" line number, it's not clear what
advantage '#0' has, especially if it is to be suppressed in the output.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppluzhnikov at charter dot
| |net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21250
More information about the Gcc-bugs
mailing list