[LLVMbugs] [Bug 7666] New: Variable size array function parameters cause clang to segfault

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 18 14:01:15 PDT 2010


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

           Summary: Variable size array function parameters cause clang to
                    segfault
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: tjablin at cs.princeton.edu
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


echo "void foo(int X, int a[X][X]) {}" | clang -x c++ - -c

causes clang to segfault.

echo "void foo(int X, int a[X][X]) {}" | clang -x c - -c

works.

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