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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs