This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/2801: ice on using ::std;
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/2801: ice on using ::std;
- From: a dot metselaar at math dot utwente dot nl
- Date: 11 May 2001 09:15:13 -0000
- Reply-To: a dot metselaar at math dot utwente dot nl
>Number: 2801
>Category: c++
>Synopsis: ice on using ::std;
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Fri May 11 02:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Arnold Metselaar
>Release: unknown-1.0
>Organization:
>Environment:
Linux 2.2.17 i686 unknown
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/arnold/bin
>Description:
arnold [~/test]$ g++-3.0 -v -save-temps make_ice.ii
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-x --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.0 20010426 (Debian prerelease)
/usr/lib/gcc-lib/i386-linux/3.0/cc1plus -fpreprocessed make_ice.ii -quiet -dumpbase make_ice.ii -version -o make_ice.s
GNU CPP version 3.0 20010426 (Debian prerelease) (cpplib) (i386 Linux/ELF)
GNU C++ version 3.0 20010426 (Debian prerelease) (i386-linux)
compiled by GNU C version 3.0 20010426 (Debian prerelease).
make_ice.cc:1: Internal error #382.
make_ice.cc:1: Internal compiler error in validate_nonmember_using_decl, at
cp/decl2.c:5011
>How-To-Repeat:
g++-v3.0 make_ice.ii
>Fix:
work around:
put ` namespace ' between `using' and `::std'
>Release-Note:
>Audit-Trail:
>Unformatted: