This is the mail archive of the gcc-prs@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]

Re: c++/8986: ICE with segfault on include inside namespace


Synopsis: ICE with segfault on include inside namespace

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Dec 17 16:18:37 2002
State-Changed-Why:
    Confirmed. It's even a regression, since this worked without
    an ICE with the 2001-12-01 snapshot.
    
    However, the code is not legal, and there are lots of
    error messages before that, so the user clearly sees
    what is going on and the ICE is not so bad here. I thus
    reduce the priority of this report.
    
    Thanks anyway for reporting this
      Wolfgang
    
    For reference the messages that I get:
    bash-2.05$ ../bin/gcc-2002-12-01/bin/c++ -c x.cc
    In file included from ../bin/gcc-2002-12-01/include/c++/3.3/i686-pc-linux-gnu/bits/c++locale.h:36,
                     from ../bin/gcc-2002-12-01/include/c++/3.3/bits/localefwd.h:46,
                     from ../bin/gcc-2002-12-01/include/c++/3.3/ios:48,
                     from ../bin/gcc-2002-12-01/include/c++/3.3/ostream:45,
                     from ../bin/gcc-2002-12-01/include/c++/3.3/iterator:70,
                     from ../bin/gcc-2002-12-01/include/c++/3.3/ext/stl_hashtable.h:69,
                     from ../bin/gcc-2002-12-01/include/c++/3.3/ext/hash_set:65,
                     from x.cc:4:
    ../bin/gcc-2002-12-01/include/c++/3.3/clocale:57: error: `lconv' not declared
    ../bin/gcc-2002-12-01/include/c++/3.3/clocale:58: error: `setlocale' not
       declared
    ../bin/gcc-2002-12-01/include/c++/3.3/clocale:59: error: `localeconv' not
       declared
    In file included from ../bin/gcc-2002-12-01/include/c++/3.3/bits/localefwd.h:48,
                     from ../bin/gcc-2002-12-01/include/c++/3.3/ios:48,
                     from ../bin/gcc-2002-12-01/include/c++/3.3/ostream:45,
                     from ../bin/gcc-2002-12-01/include/c++/3.3/iterator:70,
                     from ../bin/gcc-2002-12-01/include/c++/3.3/ext/stl_hashtable.h:69,
                     from ../bin/gcc-2002-12-01/include/c++/3.3/ext/hash_set:65,
                     from x.cc:4:
    ../bin/gcc-2002-12-01/include/c++/3.3/cctype:68: error: `isalnum' not declared
    ../bin/gcc-2002-12-01/include/c++/3.3/cctype:69: error: `isalpha' not declared
    ../bin/gcc-2002-12-01/include/c++/3.3/cctype:70: error: `iscntrl' not declared
    ../bin/gcc-2002-12-01/include/c++/3.3/cctype:71: error: `isdigit' not declared
    ../bin/gcc-2002-12-01/include/c++/3.3/cctype:72: error: `isgraph' not declared
    ../bin/gcc-2002-12-01/include/c++/3.3/cctype:73: error: `islower' not declared
    ../bin/gcc-2002-12-01/include/c++/3.3/cctype:74: error: `isprint' not declared
    ../bin/gcc-2002-12-01/include/c++/3.3/cctype:75: error: `ispunct' not declared
    ../bin/gcc-2002-12-01/include/c++/3.3/cctype:76: error: `isspace' not declared
    
    [... several pages deleted ...]
    
    ../bin/gcc-2002-12-01/include/c++/3.3/bits/basic_string.h:507: error: `const
       bool __testn' previously defined here
    ../bin/gcc-2002-12-01/include/c++/3.3/bits/basic_string.h:566: error: `
       __strsize' undeclared (first use this function)
    ../bin/gcc-2002-12-01/include/c++/3.3/bits/basic_string.h:566: error: `__pos2'
       undeclared (first use this function)
    ../bin/gcc-2002-12-01/include/c++/3.3/bits/basic_string.h:566: internal compiler error: Segmentation
       fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

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


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