[LLVMbugs] [Bug 20465] New: Segmentation fault: Fails when %s argument has wrong type (void).

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jul 26 21:39:55 PDT 2014


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

            Bug ID: 20465
           Summary: Segmentation fault: Fails when %s argument has wrong
                    type (void).
           Product: clang
           Version: 3.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: baldurpet at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12831
  --> http://llvm.org/bugs/attachment.cgi?id=12831&action=edit
Source that failed to compile

When compiling

    #include <stdio.h>

    void squeeze() {}

    int main(void)
    {
      printf("%s\n", squeeze());
    }

with

    clang -v error.c

Version:

$ clang --version
clang --version
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: i386-pc-linux-gnu
Thread model: posix

-- 
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/20140727/5e49f1c5/attachment.html>


More information about the llvm-bugs mailing list