public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/11361] New: [3.4 regression] ICE (segfault) in c-lex.c with one-liner
@ 2003-06-28 16:18 giovannibajo at libero dot it
  2003-06-28 16:28 ` [Bug preprocessor/11361] " pinskia at physics dot uc dot edu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: giovannibajo at libero dot it @ 2003-06-28 16:18 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-07-22 23:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-28 16:18 [Bug preprocessor/11361] New: [3.4 regression] ICE (segfault) in c-lex.c with one-liner giovannibajo at libero dot it
2003-06-28 16:28 ` [Bug preprocessor/11361] " pinskia at physics dot uc dot edu
2003-06-28 20:06 ` neil at daikokuya dot co dot uk
2003-06-28 20:06 ` [Bug preprocessor/11361] New: " Neil Booth
2003-06-28 20:14 ` [Bug preprocessor/11361] " giovannibajo at libero dot it
2003-07-15 15:21 ` pinskia at physics dot uc dot edu
2003-07-22 23:11 ` cvs-commit at gcc dot gnu dot org
2003-07-22 23:16 ` pinskia at physics dot uc dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).