The attached is an updated version of the testsuite-hardening-format.diff patch, to fix more gcc testcases that were failing due to enabling -Wformat=1 by default. The 22 updated testcases are the following:
+ src/boehm-gc/testsuite/boehm-gc.c/middle.c | 3 +++ + src/gcc/testsuite/c-c++-common/torture/vector-compare-1.c | 1 + + src/gcc/testsuite/g++.dg/abi/pragma-pack1.C | 2 ++ + src/gcc/testsuite/g++.dg/abi/regparm1.C | 1 + + src/gcc/testsuite/g++.dg/cpp0x/constexpr-tuple.C | 1 + + src/gcc/testsuite/g++.dg/torture/pr51436.C | 1 + + src/gcc/testsuite/g++.old-deja/g++.law/weak.C | 2 +- + src/gcc/testsuite/g++.old-deja/g++.other/std1.C | 1 + + src/gcc/testsuite/gcc.dg/ipa/ipa-sra-1.c | 2 +- + src/gcc/testsuite/gcc.dg/lto/20090218-2_0.c | 2 ++ + src/gcc/testsuite/gcc.dg/pr59418.c | 2 +- + src/gcc/testsuite/gcc.dg/torture/tls/tls-test.c | 2 +- + src/gcc/testsuite/gcc.dg/tree-ssa/builtin-fprintf-1.c | 2 +- + src/gcc/testsuite/gcc.dg/tree-ssa/builtin-fprintf-chk-1.c | 2 +- + src/gcc/testsuite/gcc.dg/tree-ssa/builtin-printf-1.c | 2 +- + src/gcc/testsuite/gcc.dg/tree-ssa/builtin-printf-chk-1.c | 2 +- + src/gcc/testsuite/gcc.dg/tree-ssa/builtin-vfprintf-1.c | 2 +- + src/gcc/testsuite/gcc.dg/tree-ssa/builtin-vfprintf-chk-1.c | 2 +- + src/gcc/testsuite/gcc.dg/tree-ssa/builtin-vprintf-1.c | 2 +- + src/gcc/testsuite/gcc.dg/tree-ssa/builtin-vprintf-chk-1.c | 2 +- + src/gcc/testsuite/gcc.dg/tree-ssa/isolate-4.c | 2 +- + src/gcc/testsuite/objc.dg/torture/strings/const-str-3.m | 2 +-
The attached is an updated version of the testsuite- hardening- format. diff patch, to fix more gcc testcases that were failing due to enabling -Wformat=1 by default. The 22 updated testcases are the following:
+ src/boehm- gc/testsuite/ boehm-gc. c/middle. c | 3 +++ testsuite/ c-c++-common/ torture/ vector- compare- 1.c | 1 + testsuite/ g++.dg/ abi/pragma- pack1.C | 2 ++ testsuite/ g++.dg/ abi/regparm1. C | 1 + testsuite/ g++.dg/ cpp0x/constexpr -tuple. C | 1 + testsuite/ g++.dg/ torture/ pr51436. C | 1 + testsuite/ g++.old- deja/g+ +.law/weak. C | 2 +- testsuite/ g++.old- deja/g+ +.other/ std1.C | 1 + testsuite/ gcc.dg/ ipa/ipa- sra-1.c | 2 +- testsuite/ gcc.dg/ lto/20090218- 2_0.c | 2 ++ testsuite/ gcc.dg/ pr59418. c | 2 +- testsuite/ gcc.dg/ torture/ tls/tls- test.c | 2 +- testsuite/ gcc.dg/ tree-ssa/ builtin- fprintf- 1.c | 2 +- testsuite/ gcc.dg/ tree-ssa/ builtin- fprintf- chk-1.c | 2 +- testsuite/ gcc.dg/ tree-ssa/ builtin- printf- 1.c | 2 +- testsuite/ gcc.dg/ tree-ssa/ builtin- printf- chk-1.c | 2 +- testsuite/ gcc.dg/ tree-ssa/ builtin- vfprintf- 1.c | 2 +- testsuite/ gcc.dg/ tree-ssa/ builtin- vfprintf- chk-1.c | 2 +- testsuite/ gcc.dg/ tree-ssa/ builtin- vprintf- 1.c | 2 +- testsuite/ gcc.dg/ tree-ssa/ builtin- vprintf- chk-1.c | 2 +- testsuite/ gcc.dg/ tree-ssa/ isolate- 4.c | 2 +- testsuite/ objc.dg/ torture/ strings/ const-str- 3.m | 2 +-
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/
+ src/gcc/