[cfe-dev] Crash in make test

Chris Lattner clattner at apple.com
Sat Feb 28 11:38:16 PST 2009


On Feb 28, 2009, at 10:09 AM, Jean-Daniel Dupas wrote:

> When I'm performing "make test" in the clang dir, I have a test that
> crashes clang:
>
> clang test/Parser/control-scope.c -std=c90
>
> It crash on a null pointer access ('Val' is NULL):
>
> Val->Destroy(Context);
>
> In SemaDecl.cpp at line 3500.
>
> Maybe someone can add a "if (Val)" here to prevent the crash ?

Thanks fixed!
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090223/013245.html



More information about the cfe-dev mailing list