This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/4498: Using "using" in a namespace with namespace as name (sort of infinite recursion ?!)
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/4498: Using "using" in a namespace with namespace as name (sort of infinite recursion ?!)
- From: fjolliton at free dot fr
- Date: 7 Oct 2001 22:14:05 -0000
- Reply-To: fjolliton at free dot fr
>Number: 4498
>Category: c++
>Synopsis: Using "using" in a namespace with namespace as name (sort of infinite recursion ?!)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Sun Oct 07 15:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Frédéric Jolliton
>Release: gcc-3.0.1
>Organization:
>Environment:
i686-pc-linux-gnu
Linux 2.4
glibc 2.2
>Description:
$ gcc gxx-bug.cc
gxx-bug.cc:2: Internal error #382.
gxx-bug.cc:2: Internal compiler error in validate_nonmember_using_decl, at
cp/decl2.c:5004
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:
$ cat gxx-bug.cc
namespace X {
using ::X ;
}
$
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: