http://llvm.org/bugs/show_bug.cgi?id=7827
Nathan Whitehorn <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #2 from Nathan Whitehorn <[email protected]> 2010-09-22 05:33:00 CDT --- The fix appears to work only when NULL is passed for the array. If you pass an actual array (e.g. in the following modified test case), clang still exits with the original error. void function(short width, int data[][width]) {} void test() { int bork[4][1]; function(1, bork); } Error: clang: CGExpr.cpp:1169: clang::CodeGen::LValue clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(const clang::DeclRefExpr*): Assertion `V && "DeclRefExpr not entered in LocalDeclMap?"' failed. -- 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
