[Bug preprocessor/47254] New: ICE: unspellable token PRAGMA_EOL with #pragma redefine_extname and -fdirectives-only

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Tue Jan 11 03:16:00 GMT 2011


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)



More information about the Gcc-bugs mailing list