<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - LLVM Error: Cannot select 0xb3e9e08: f32 = truncate 0xb3e0a28 [ID=24]"
href="http://llvm.org/bugs/show_bug.cgi?id=15984">15984</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLVM Error: Cannot select 0xb3e9e08: f32 = truncate 0xb3e0a28 [ID=24]
</td>
</tr>
<tr>
<th>Product</th>
<td>dragonegg
</td>
</tr>
<tr>
<th>Version</th>
<td>3.2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>baldrick@free.fr
</td>
</tr>
<tr>
<th>Reporter</th>
<td>zyrevo@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=10506" name="attach_10506" title="Ada source files">attachment 10506</a> <a href="attachment.cgi?id=10506&action=edit" title="Ada source files">[details]</a></span>
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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>