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: [email protected]
Reporter: [email protected]
CC: [email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs