This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/28079] New: #line range not verified
- From: "sabre at nondot dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jun 2006 05:52:44 -0000
- Subject: [Bug preprocessor/28079] New: #line range not verified
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Preprocessing this:
#line 12312312312435
produces:
# 2936042099 ".../foo.c"
C99 specifies that the argument to #line shall be > 0 and < 2^31-1, and even if
it didn't, truncation like this should at least be warned about.
-Chris
--
Summary: #line range not verified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sabre at nondot dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28079