[LLVMbugs] [Bug 15984] New: LLVM Error: Cannot select 0xb3e9e08: f32 = truncate 0xb3e0a28 [ID=24]

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 13 13:03:07 PDT 2013


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

            Bug ID: 15984
           Summary: LLVM Error: Cannot select 0xb3e9e08: f32 = truncate
                    0xb3e0a28 [ID=24]
           Product: dragonegg
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
          Assignee: baldrick at free.fr
          Reporter: zyrevo at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10506
  --> http://llvm.org/bugs/attachment.cgi?id=10506&action=edit
Ada source files

On the attached two Ada source files

(this compiles fine)
gcc -c -gnatws -I./ -gnatA -x ada llvm_bug_rzy.ada 

(this will give the error message)
gcc -c -gnatws -fplugin=/usr/lib/dragonegg.so -I./ -gnatA -x ada
llvm_bug_rzy.ada

also

gcc -S -flto -gnatws -fplugin=/usr/lib/dragonegg.so -I./ -gnatA -x ada
llvm_bug_rzy.ada
llvm-as llvm_bug_rzy.s
llvm-as: llvm_bug_rzy.s:316:16: error: invalid cast opcode for cast from 'i40'
to 'float'
  %181 = trunc i40 %180 to float


I am using gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130513/882c007a/attachment.html>


More information about the llvm-bugs mailing list