This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/15307] New: Preprocessor ICE on invalid input
- From: "nisse at lysator dot liu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2004 06:55:34 -0000
- Subject: [Bug preprocessor/15307] New: Preprocessor ICE on invalid input
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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