This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/1787: ICE on using ::std;
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1787: ICE on using ::std;
- From: cesarb at nitnet dot com dot br
- Date: 26 Jan 2001 21:12:23 -0000
- Reply-To: cesarb at nitnet dot com dot br
>Number: 1787
>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 Jan 26 13:16:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Cesar Eduardo Barros
>Release: gcc version 2.97 20010120 (experimental)
>Organization:
>Environment:
http://www.codesourcery.com/gcc-compile.shtml
>Description:
I also got the same ICE with gcc version 2.95.2 20000220 (Debian GNU/Linux) and DJGPP v2.03's gcc 2.95.x . The error messages from the online compiler are:
GCC Output
These are the results of processing your source code with the following command:
g++ [input]
Exit code: 256
Messages:
/tmp/@31461.7.cc:4: Internal error #382.
/tmp/@31461.7.cc:4: Internal compiler error in validate_nonmember_using_decl,
at cp/decl2.c:5121
Please submit a full bug report.
See for instructions.
>How-To-Repeat:
The C++ source code (3 lines, no includes) is:
namespace std {}
using ::std;
>Fix:
The workaround is Don't Do That Then; the right line would be "using namespace ::std;"
>Release-Note:
>Audit-Trail:
>Unformatted: