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]
Other format: [Raw text]

[Bug c++/16301] New: ICE with strong using


Not important, but maybe worth fixing sometime anyway: 
------------------ 
namespace NS2 
{ 
  using namespace NS1 __attribute__ ((strong)); 
} 
------------------ 
 
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c y.cc 
y.cc:3: error: expected namespace-name before "__attribute__" 
y.cc:3: error: `<type error>' is not a namespace 
y.cc:3: internal compiler error: tree check: expected namespace_decl, have 
error_mark in parse_using_directive, at cp/name-lookup.c:3409 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 
W.

-- 
           Summary: ICE with strong using
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16301


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