[LLVMbugs] [Bug 1335] NEW: -inline crash on asm

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Apr 15 12:41:31 PDT 2007


           Summary: -inline crash on asm
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr

The -inline pass creates invalid bytecode from this testcase:

opt -inline hi_res.bc
WARNING: You're attempting to print out a bytecode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bytecode first-hand, you
can force output with the `-f' option.

Cannot take the address of an inline asm!
        invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, 
$1", "==imr,==imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* 
null )
                        to label %.noexc unwind label %cleanup144
Broken module found, compilation aborted!

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list