[cfe-commits] r113480 - in /cfe/trunk/lib/Checker: ArrayBoundChecker.cpp CStringChecker.cpp ReturnPointerRangeChecker.cpp

John McCall rjmccall at apple.com
Thu Sep 9 10:09:20 PDT 2010


On Sep 9, 2010, at 3:51 AM, Gabor Greif wrote:

> Author: ggreif
> Date: Thu Sep  9 05:51:37 2010
> New Revision: 113480
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=113480&view=rev
> Log:
> do not bind temporaries to non-const references
> 
> this fixes all analyser test failures in my gcc34-based
> environment
> 
> how the cast result could bind to the non-const ref is
> somewhat mysterious and remains to be investigated; to
> avoid similar miscompilations (by gcc34 only?)

This is badness in cast<>, I think.

John.



More information about the cfe-commits mailing list