<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - Segfault: infinite recursion in ScalarEvolution"
href="https://bugs.llvm.org/show_bug.cgi?id=43249">43249</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Segfault: infinite recursion in ScalarEvolution
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</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>Scalar Optimizations
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>paulsson@linux.vnet.ibm.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22477" name="attach_22477" title="reduced testcase">attachment 22477</a> <a href="attachment.cgi?id=22477&action=edit" title="reduced testcase">[details]</a></span>
reduced testcase
clang -cc1 -triple s390x-ibm-linux -S -O3 -o crash0.s -x ir tc_scev_segfault.ll
...
#245 0x000002aa2585ed2e llvm::ScalarEvolution::getSCEV(llvm::Value*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbded2e)
#246 0x000002aa2585da08 llvm::ScalarEvolution::createSCEV(llvm::Value*)
(.part.1519.constprop.1613)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbdda08)
#247 0x000002aa2585ed2e llvm::ScalarEvolution::getSCEV(llvm::Value*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbded2e)
#248 0x000002aa2587fc3e
llvm::ScalarEvolution::createNodeFromSelectLikePHI(llvm::PHINode*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbffc3e)
#249 0x000002aa25881598 llvm::ScalarEvolution::createNodeForPHI(llvm::PHINode*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xc01598)
#250 0x000002aa2585df80 llvm::ScalarEvolution::createSCEV(llvm::Value*)
(.part.1519.constprop.1613)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbddf80)
#251 0x000002aa2585ed2e llvm::ScalarEvolution::getSCEV(llvm::Value*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbded2e)
#252 0x000002aa2585da08 llvm::ScalarEvolution::createSCEV(llvm::Value*)
(.part.1519.constprop.1613)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbdda08)
#253 0x000002aa2585ed2e llvm::ScalarEvolution::getSCEV(llvm::Value*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbded2e)
#254 0x000002aa2587fc3e
llvm::ScalarEvolution::createNodeFromSelectLikePHI(llvm::PHINode*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbffc3e)
#255 0x000002aa25881598 llvm::ScalarEvolution::createNodeForPHI(llvm::PHINode*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xc01598)
Segmentation fault
s</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>