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/15307] New: Preprocessor ICE on invalid input


gcc-3.4.0, built with ./configure && make bootstrap && make install

Preprocessing crashes with

  bug.c:0: internal compiler error: Segmentation fault
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://gcc.gnu.org/bugs.html> for instructions.

when the correct behaviour would be to output an error message

  unterminated argument list invoking macro "ASSERT"

Compilation command line:

  gcc -DWANT_CHECKS=1 -E bug.c

Source file (before preprocessing, but there are no #include
directives in it) is attached.

-- 
           Summary: Preprocessor ICE on invalid input
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nisse at lysator dot liu dot se
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


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