From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18528 invoked by alias); 28 Jun 2003 16:18:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18521 invoked by uid 48); 28 Jun 2003 16:18:41 -0000 Date: Sat, 28 Jun 2003 16:18:00 -0000 From: "giovannibajo at libero dot it" To: gcc-bugs@gcc.gnu.org Message-ID: <20030628161840.11361.giovannibajo@libero.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug preprocessor/11361] New: [3.4 regression] ICE (segfault) in c-lex.c with one-liner X-Bugzilla-Reason: CC X-SW-Source: 2003-06/txt/msg03007.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11361 Summary: [3.4 regression] ICE (segfault) in c-lex.c with one- liner Product: gcc Version: 3.4 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P2 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: giovannibajo at libero dot it CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: i686-pc-cygwin Just compile this line: # 31 "eval.c" 2 to get a segmentation fault. #0 fe_file_change (new_map=0x0) at ../../gcc/gcc/c-lex.c:205 #1 0x005618dd in cb_file_change (pfile=0xa069f48, new_map=0x0) at ../../gcc/gcc/c-opts.c:1415 #2 0x008b9870 in do_linemarker (pfile=0xa069f48) at ../../gcc/gcc/cpplib.c:873 #3 0x008b89c8 in _cpp_handle_directive (pfile=0xa069f48, indented=0) at ../../gcc/gcc/cpplib.c:424 #4 0x008bca59 in _cpp_lex_token (pfile=0xa069f48) at ../../gcc/gcc/cpplex.c:659 #5 0x008c37c0 in cpp_get_token (pfile=0xa069f48) at ../../gcc/gcc/cppmacro.c:1064 #6 0x0055446d in c_lex (value=0x22fcb4) at ../../gcc/gcc/c-lex.c:307 #7 0x004c29f8 in cp_lexer_get_preprocessor_token (lexer=0x0, token=0x22fcb0) at ../../gcc/gcc/cp/parser.c:632 #8 0x004c240a in cp_lexer_new_main () at ../../gcc/gcc/cp/parser.c:304