<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 --- - arm call generates incorrect code"
href="http://llvm.org/bugs/show_bug.cgi?id=18112">18112</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>arm call generates incorrect code
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>3.3
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</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>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>johnruble@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=11644" name="attach_11644" title="very small testcase demonstrating bug">attachment 11644</a> <a href="attachment.cgi?id=11644&action=edit" title="very small testcase demonstrating bug">[details]</a></span>
very small testcase demonstrating bug
the third param to a routine (follows a large pass-struct-by-value) doesn't
quite make it:
$ ./test_gcc
addresses (caller): 0xbee27450 0xbee271f8 0xbee26fa0
addresses (callee): 0xbee27450 0xbee26d44 0xbee26fa0
$ ./test_clang
addresses (caller): 0xbecfc450 0xbecfc1f8 0xbecfbfa0
addresses (callee): 0xbecfc450 0xbecfbd24 (nil)
(see attached testcase)
possibly related?:
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - byval should be implemented properly on ARM"
href="show_bug.cgi?id=11018">http://llvm.org/bugs/show_bug.cgi?id=11018</a>
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - ARM struct byval size > 64 triggers failure"
href="show_bug.cgi?id=16368">http://llvm.org/bugs/show_bug.cgi?id=16368</a>
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Bad ARM codegen when large structs passed by value, llc -O1."
href="show_bug.cgi?id=12793">http://llvm.org/bugs/show_bug.cgi?id=12793</a>
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - ARM codegen generates incorrect code for byval function arguments"
href="show_bug.cgi?id=8040">http://llvm.org/bugs/show_bug.cgi?id=8040</a></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>