This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/14438] New: -E of #pragma poison has negative line number
- From: "lindsayd at cisco dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2004 00:23:55 -0000
- Subject: [Bug preprocessor/14438] New: -E of #pragma poison has negative line number
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
A i686-pc-linux-gnu compiler built from
gcc-3.4-20040303.tar.bz2
exhibits this:
echo "#pragma GCC poison foo" > _dummy.c
gcc -E -nostdinc _dummy.c
# 1 "_dummy.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "_dummy.c"
# 4294967218 "_dummy.c"
Umm, ah, line number 4294967218 ? This bug was brought to my attention by GAS,
when it said:
line numbers must be positive; line number -15 rejected
The bug is in GCC-3.3.2 but isn't in 3.3.1.
--
Summary: -E of #pragma poison has negative line number
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lindsayd at cisco dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: native
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14438