<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 - Coverage mapping fails with "File exit not handled before popRegions" on #define'd goto"
href="https://bugs.llvm.org/show_bug.cgi?id=39258">39258</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Coverage mapping fails with "File exit not handled before popRegions" on #define'd goto
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>orivej@gmx.fr
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>This command:
clang -c test.c -fprofile-instr-generate -fcoverage-mapping
fails on this input:
#define g goto
void loop(unsigned count) {
begin:
if (count--)
g begin;
}
with:
fatal error: error in backend: File exit not handled before popRegions
This affects all versions of Clang, from 4 to trunk. (Tested on
x86_64-linux-gnu.)
The test was reduced from
<a href="https://github.com/scipy/scipy/blob/v1.1.0/scipy/signal/sigtoolsmodule.c#L148">https://github.com/scipy/scipy/blob/v1.1.0/scipy/signal/sigtoolsmodule.c#L148</a>.
This issue is different from <a class="bz_bug_link
bz_status_NEW "
title="NEW - (REGRESSION) crash in coverage build: error in backend: File exit not handled before popRegions"
href="show_bug.cgi?id=38987">https://bugs.llvm.org/show_bug.cgi?id=38987</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>