[llvm-bugs] [Bug 39258] New: Coverage mapping fails with "File exit not handled before popRegions" on #define'd goto
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Oct 11 15:42:56 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=39258
Bug ID: 39258
Summary: Coverage mapping fails with "File exit not handled
before popRegions" on #define'd goto
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: orivej at gmx.fr
CC: llvm-bugs at lists.llvm.org
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
https://github.com/scipy/scipy/blob/v1.1.0/scipy/signal/sigtoolsmodule.c#L148.
This issue is different from https://bugs.llvm.org/show_bug.cgi?id=38987
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181011/694f6823/attachment.html>
More information about the llvm-bugs
mailing list