public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: bangerth@dealii.org
To: V.Haisman@sh.cvut.cz, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
	nobody@gcc.gnu.org
Subject: Re: c++/8986: ICE with segfault on include inside namespace
Date: Tue, 17 Dec 2002 16:18:00 -0000	[thread overview]
Message-ID: <20021218001839.19200.qmail@sources.redhat.com> (raw)

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


             reply	other threads:[~2002-12-18  0:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-17 16:18 bangerth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-17 16:16 Gabriel Dos Reis
2002-12-17 16:06 V.Haisman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021218001839.19200.qmail@sources.redhat.com \
    --to=bangerth@dealii.org \
    --cc=V.Haisman@sh.cvut.cz \
    --cc=gcc-bugs@gcc.gnu.org \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).