c++/9397: ICE in validate_nonmember_using_decl on invalid input
snyder@fnal.gov
snyder@fnal.gov
Wed Jan 22 08:36:00 GMT 2003
>Number: 9397
>Category: c++
>Synopsis: ICE in validate_nonmember_using_decl on invalid input
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Wed Jan 22 05:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: scott snyder
>Release: 3.4 20030121 (experimental)
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: Linux karma 2.4.19-emp_2419p5a829i #1 Tue Sep 3 17:42:17 EST 2002 i686 unknown
Architecture: i686
<machine, os, target, libraries (multiple lines)>
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --prefix=/usr/local/gcc --enable-threads=posix --enable-long-long
>Description:
g++ 3.4 gives an ICE compiling the (invalid) code below.
$ g++ -c y3.cc
y3.cc:2: internal compiler error: in validate_nonmember_using_decl, at
cp/decl2.c:4152
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
$
>How-To-Repeat:
---------------------
namespace foo {}
using foo::bar;
---------------------
>Fix:
<how to correct or work around the problem, if known (multiple lines)>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list