[LLVMbugs] [Bug 92] New: [bcreader] Cannot read shift constant expressions from bytecode file

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Wed Nov 5 11:44:58 PST 2003


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=92

           Summary: [bcreader] Cannot read shift constant expressions from
                    bytecode file
           Product: libraries
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Bytecode Reader
        AssignedTo: sabre at nondot.org
        ReportedBy: sabre at nondot.org


Assembling the following, perfectly legal, program causes the bytecode reader to
assert:

; RUN: llvm-as < %s | llvm-dis
int %test() {
  ret int shr (int cast (int()* %test to int), ubyte 2)
}

This is test/Regression/Assembler/2003-10-05-ConstantExprShift.llx, distilled
from a kernel compilation problem found by Brian.

-Chris



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