[cfe-dev] Assertion failure "EvalVal doesn't work on pointers"
kremenek at apple.com
Tue Aug 28 12:03:15 CDT 2007
This is now fixed. Thanks for reporting this, and sorry for the delay
in fixing it!
On Aug 25, 2007, at 6:41 PM, Keith Bauer wrote:
> int *h;
> int **foo(int i)
> return &(h[i]);
> imac:Desktop keith$ clang -fsyntax-only test6.c
> Assertion failed: (!E->getType()->isPointerType() && "EvalVal doesn't
> work on pointers"), function EvalVal, file SemaChecking.cpp, line 551.
> (removing a level of indirection doesn't trigger the assertion --
> changing h to an array of ints, and foo to return an int*).
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev