diff options
author | Marek Polacek <polacek@redhat.com> | 2013-11-29 21:29:48 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2013-11-29 21:29:48 +0000 |
commit | f8ef336f0b6c726607bfda2795f362093cf7a2df (patch) | |
tree | e70bc6144ae7f2ffac9cf630265312a92d4b018d /gcc/expr.c | |
parent | 340baef702ea62dfcdc8003ff9c4f4c2bd8322fb (diff) | |
download | gcc-f8ef336f0b6c726607bfda2795f362093cf7a2df.zip gcc-f8ef336f0b6c726607bfda2795f362093cf7a2df.tar.gz gcc-f8ef336f0b6c726607bfda2795f362093cf7a2df.tar.bz2 |
re PR sanitizer/59331 (ubsan gives extra warnings with vla.)
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.
From-SVN: r205544
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions