This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/34602] New: [4.1/4.2/4.3 regression] Internal error with invalid #line directive
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Dec 2007 02:27:56 -0000
- Subject: [Bug preprocessor/34602] New: [4.1/4.2/4.3 regression] Internal error with invalid #line directive
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following testcase triggers an internal error since GCC 3.1:
====================
#line
====================
bug.c:1:6: internal error: unspellable token EOF
bug.c:1:6: error: "" after #line is not a positive integer
--
Summary: [4.1/4.2/4.3 regression] Internal error with invalid
#line directive
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34602