[LLVMbugs] [Bug 4717] New: Rejects valid c++

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Aug 14 03:25:22 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4717

           Summary: Rejects valid c++
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu


llvm-gcc rejects

       class C {
         public:
         enum { a = 3};
       };
       template<class C2>
       class C3 : public C2 {
         public:
         C2::a;
         class C4;
       };
       template<class C2>
       class C3<C2>::C4 {
         int v[a];
         public:
         C4(int a2);
       };
       void f(int a3) {
         C3<C>::C4 a4(a3);
       }

This was fixed in http://gcc.gnu.org/ml/gcc-cvs/2007-09/msg00616.html, but
unfortunately that patch is GPL3.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list