This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/47254] New: ICE: unspellable token PRAGMA_EOL with #pragma redefine_extname and -fdirectives-only
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jan 2011 01:06:14 +0000
- Subject: [Bug preprocessor/47254] New: ICE: unspellable token PRAGMA_EOL with #pragma redefine_extname and -fdirectives-only
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47254
Summary: ICE: unspellable token PRAGMA_EOL with #pragma
redefine_extname and -fdirectives-only
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
----- testcase.c -----
#pragma redefine_extname x y
#define something
----------------------
Compiler output:
$ gcc -fdirectives-only -save-temps testcase.c
testcase.c:1:18: warning: missing whitespace after the macro name [enabled by
default]
testcase.c:1:18: internal compiler error: unspellable token PRAGMA_EOL
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
(fails with -E as well)