<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 --- - SROA assertion "Element extends past full value" fails"
href="http://llvm.org/bugs/show_bug.cgi?id=15975">15975</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>SROA assertion "Element extends past full value" fails
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>baldrick@free.fr
</td>
</tr>
<tr>
<th>CC</th>
<td>chandlerc@gmail.com, 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=10499" name="attach_10499" title="testcase .ll">attachment 10499</a> <a href="attachment.cgi?id=10499&action=edit" title="testcase .ll">[details]</a></span>
testcase .ll
I only get this with a Debug+Asserts build (not Release+Asserts).
$ opt -sroa -disable-output pr48335-7.ll
opt: /home/duncan/LLVM/llvm/lib/Transforms/Scalar/SROA.cpp:2213: llvm::Value*
extractInteger(const llvm::DataLayout&, {anonymous}::IRBuilderTy&,
llvm::Value*, llvm::IntegerType*, uint64_t, const llvm::Twine&): Assertion
`DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) && "Element
extends past full value"' failed.
0 opt 0x00000000017f9dc5 llvm::sys::PrintStackTrace(_IO_FILE*) +
38
...
llvm::FPPassManager::runOnFunction(llvm::Function&) + 382
20 opt 0x00000000016f2538
llvm::FPPassManager::runOnModule(llvm::Module&) + 84
21 opt 0x00000000016f285f
llvm::MPPassManager::runOnModule(llvm::Module&) + 505
22 opt 0x00000000016f2e39 llvm::PassManagerImpl::run(llvm::Module&)
+ 249
23 opt 0x00000000016f304b llvm::PassManager::run(llvm::Module&) +
39
24 opt 0x00000000008d0470 main + 5700
25 libc.so.6 0x00007ffcbdb89ea5 __libc_start_main + 245
26 opt 0x00000000008c2009
Stack dump:
0. Program arguments: opt -sroa -disable-output pr48335-7.ll
1. Running pass 'Function Pass Manager' on module 'pr48335-7.ll'.
2. Running pass 'SROA' on function '@f4'</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>