[LLVMbugs] [Bug 6273] New: llc -march=cpp code does not compile: error: 'PointerTy_138 ' was not declared in this scope

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 10 06:52:08 PST 2010


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

           Summary: llc -march=cpp code does not compile: error:
                    'PointerTy_138' was not declared in this scope
           Product: tools
           Version: 2.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: timo.lindfors at iki.fi
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4212)
 --> (http://llvm.org/bugs/attachment.cgi?id=4212)
testcase

Steps to reproduce:
1) llc -march=cpp madt.bc -o madt.cpp
2) g++ madt.cpp -o madt `llvm-config --cppflags --ldflags --libs`

Expected results:
2) generated code compiles

Actual results:
2) generated code fails to compile:

madt.cpp: In function 'llvm::Module* makeLLVMModule()':
madt.cpp:680: error: 'PointerTy_138' was not declared in this scope
madt.cpp:686: error: 'PointerTy_141' was not declared in this scope


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