[LLVMbugs] [Bug 8570] New: Segfault while passing variable-sized arrays.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 8 21:19:43 PST 2010


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

           Summary: Segfault while passing variable-sized arrays.
           Product: clang
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: cg.wowus.cg at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5752)
 --> (http://llvm.org/bugs/attachment.cgi?id=5752)
The crashing program.

I have attached a short, 16 line program which segfaults the clang front end. I
believe I've reduced it down as far as possible, and don't really know what to
do with it next. My workaround at the moment is to just use llvm-gcc -std=c99.

Compiling:

    clang bug.c

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list