public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8986: ICE with segfault on include inside namespace
@ 2002-12-17 16:16 Gabriel Dos Reis
0 siblings, 0 replies; 3+ messages in thread
From: Gabriel Dos Reis @ 2002-12-17 16:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/8986; it has been noted by GNATS.
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: V.Haisman@sh.cvut.cz
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/8986: ICE with segfault on include inside namespace
Date: 18 Dec 2002 01:04:22 +0100
V.Haisman@sh.cvut.cz writes:
[...]
| namespace std {
| #include <ext/hash_set>
Don't do that ;-)
-- Gaby
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/8986: ICE with segfault on include inside namespace
@ 2002-12-17 16:18 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2002-12-17 16:18 UTC (permalink / raw)
To: V.Haisman, gcc-bugs, gcc-prs, nobody
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/8986: ICE with segfault on include inside namespace
@ 2002-12-17 16:06 V.Haisman
0 siblings, 0 replies; 3+ messages in thread
From: V.Haisman @ 2002-12-17 16:06 UTC (permalink / raw)
To: gcc-gnats
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]
>Number: 8986
>Category: c++
>Synopsis: ICE with segfault on include inside namespace
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue Dec 17 16:06:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: VÁCLAV HAISMAN
>Release: 3.3 20021217 (prerelease)
>Organization:
>Environment:
System: FreeBSD logout.sh.cvut.cz 4.7-RC FreeBSD 4.7-RC #0: Fri Sep 27 17:46:06 CEST 2002 root@logout.sh.cvut.cz:/usr/src/sys/compile/logout i386
host: i386-unknown-freebsd4.7
build: i386-unknown-freebsd4.7
target: i386-unknown-freebsd4.7
configured with: ../srcdir/configure --prefix=/home/4/wilx --srcdir=/home/4/wilx/tmp/gcc33/srcdir --enable-shared --enable-languages=c,c++ --enable-threads=posix --enable-version-specific-runtime-libs --enable-haifa --enable-dwarf2
>Description:
c++ -c test-case.cxx
>How-To-Repeat:
#include <vector>
namespace std {
#include <ext/hash_set>
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-18 0:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-17 16:16 c++/8986: ICE with segfault on include inside namespace Gabriel Dos Reis
-- strict thread matches above, loose matches on Subject: below --
2002-12-17 16:18 bangerth
2002-12-17 16:06 V.Haisman
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).