[cfe-commits] r136046 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td include/clang/Sema/Sema.h lib/Sema/SemaChecking.cpp lib/Sema/SemaExpr.cpp test/SemaCXX/array-bounds-ptr-arith.cpp test/SemaCXX/array-bounds.cpp

Eric Christopher echristo at apple.com
Tue Jul 26 11:32:15 PDT 2011


On Jul 25, 2011, at 6:52 PM, Kaelyn Uhrain wrote:

> Author: rikka
> Date: Mon Jul 25 20:52:28 2011
> New Revision: 136046
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=136046&view=rev
> Log:
> Expand array bounds checking to work in the presence of unary & and *,
> and to work with pointer arithmetic in addition to array indexing.
> 
> The new pointer arithmetic porition of the array bounds checking can be
> turned on by -Warray-bounds-pointer-arithmetic (and is off by default).

As we discussed can you please revert this (it's causing some test failures in the gcc-testsuite as run with clang) while getting a fix for the address of an invalid index?

-eric



More information about the cfe-commits mailing list