http://llvm.org/bugs/show_bug.cgi?id=21959

            Bug ID: 21959
           Summary: [fuzz, binary] UNREACHABLE executed at
                    tools/clang/lib/Sema/SemaTemplate.cpp:516
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 13570
  --> http://llvm.org/bugs/attachment.cgi?id=13570&action=edit
test case

Fuzzing discovered that the attached test case, which contains unprintable
characters, when given as input to

  clang -fno-crash-diagnostics -std=c++11 -xc++ -ferror-limit=2 -c -emit-llvm

causes UNREACHABLE to be executed.

Note that the -ferror-limit seems to be necessary; for example, with values of
2 or 5 UNREACHABLE is executed, but with the default error limit not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to