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
Showing
gcc/testsuite/g++.dg/ubsan/pr59331.C
0 → 100644
Please
register
or
sign in
to comment