<html>
<head>
<base href="https://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 --- - LCSSA::verifyAnalysis() and verifyAnalysis() does nothing?"
href="https://llvm.org/bugs/show_bug.cgi?id=23249">23249</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LCSSA::verifyAnalysis() and verifyAnalysis() does nothing?
</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>Windows NT
</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>yaron.keren@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>Hi Chandler,
Warnings level 4 were recently enabled for Visual C++ and it complains that:
lib\transforms\utils\lcssa.cpp(345): warning C4718: 'verifyLoop' : recursive
call has no side effects, deleting
essentially, it says that verifyLoop does nothing other than call itself, which
appear to be true both in debug and release modes:
static void verifyLoop(Loop &L, DominatorTree &DT) {
// Recurse depth-first through inner loops.
for (Loop::iterator LI = L.begin(), LE = L.end(); LI != LE; ++LI)
verifyLoop(**LI, DT);
// Check the special guarantees that LCSSA makes.
//assert(L.isLCSSAForm(DT) && "LCSSA form not preserved!");
}</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>