preprocessor/6084: cpp Segmentation Fault

neil@gcc.gnu.org neil@gcc.gnu.org
Fri Mar 29 00:20:00 GMT 2002


Synopsis: cpp Segmentation Fault

State-Changed-From-To: open->feedback
State-Changed-By: neil
State-Changed-When: Fri Mar 29 00:20:22 2002
State-Changed-Why:
    Changed to category preprocessor; not a front end issue.
    
    Quite a surpise to me, too.  I take pride in cpp not segfaulting 8-)
    
    Could you give me a testcase?  I can't reproduce it with
    the information supplied.
    Or, could you try 3.0.4?  There was a segfault fixed in the
    later 3.0 cycle, triggered by a combination of command
    line options, but I'm not sure which 3.0.x got it.
    Judging by your command line, I suspect it is caused by
    a certain combination of switches; can you reproduce it
    on a simple file like #include <stdio.h> or something?
    
    Alternatively, if you can't produce a simple testcase, but can get it to happen on Linux, then please send me the files so I can track this down, or tell me where it happens when you're debugging the cpp0 binary.
    
    Thanks!

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6084



More information about the Gcc-prs mailing list