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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to