[llvm-bugs] [Bug 27948] New: Coverage: crash on switch statement spanned by macro expansion

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 31 10:58:46 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27948

            Bug ID: 27948
           Summary: Coverage: crash on switch statement spanned by macro
                    expansion
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: vsk at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Minimal reproducer:

$ clang -x c -fprofile-instr-generate -fcoverage-mapping -o /dev/null - <<EOF
#define START2 switch (0) default:
int main() {
  for (;;)
    START2 return 0;
}
EOF

-- 
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/20160531/f2aa9dec/attachment.html>


More information about the llvm-bugs mailing list