r205544 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Fri Nov 29 21:29:00 GMT 2013
Author: mpolacek
Date: Fri Nov 29 21:29:48 2013
New Revision: 205544
URL: http://gcc.gnu.org/viewcvs?rev=205544&root=gcc&view=rev
Log:
PR sanitizer/59331
cp/
* decl.c (compute_array_index_type): Don't build COMPOUND_EXPR for
instrumentation.
testsuite/
* g++.dg/ubsan/pr59331.C: New test.
* g++.dg/ubsan/cxx1y-vla.C: Enable -Wall -Wno-unused-variable.
Disable the -w option.
* c-c++-common/ubsan/vla-1.c: Likewise.
* c-c++-common/ubsan/vla-2.c: Likewise.
* c-c++-common/ubsan/vla-3.c: Don't use the -w option.
Added:
trunk/gcc/testsuite/g++.dg/ubsan/pr59331.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/c-c++-common/ubsan/vla-1.c
trunk/gcc/testsuite/c-c++-common/ubsan/vla-2.c
trunk/gcc/testsuite/c-c++-common/ubsan/vla-3.c
trunk/gcc/testsuite/g++.dg/ubsan/cxx1y-vla.C
More information about the Gcc-cvs
mailing list