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

            Bug ID: 23775
           Summary: Segfault when using wrong macros in printf
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 14441
  --> https://llvm.org/bugs/attachment.cgi?id=14441&action=edit
backtrace appearing after the printf error message is printed.

I stumbled on this segfault while programming. I do not know if it is really
related to the frontend.


Steps to Reproduce:

1) Attempt building the source code

2) clang crashes

3) Remove the  printf in line 31498 and there is no segfault.


Build Date & Platform:

Arch Linux

$ clang --version
clang version 3.6.1 (tags/RELEASE_361/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix

-- 
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