This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]