This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/4498: Using "using" in a namespace with namespace as name (sort of infinite recursion ?!)



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]