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/30786] New: ICE on _Pragma at end of file


Compiling or preprocessing a file that ends immediately after _Pragma leads to
an ICE:

<bug.c>:1:1: error: _Pragma takes a parenthesized string literal
<built-in>:0: internal compiler error: Segmentation fault

Simply `echo _Pragma | cpp` is enough to show it.

I'm using gcc 4.1.1.


-- 
           Summary: ICE on _Pragma at end of file
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: truedfx at gentoo dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30786


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