diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2006-07-11 11:55:14 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2006-07-11 11:55:14 +0000 |
commit | 4e96aca4b11e0dde8c8e09a561ba32cac7f29dbf (patch) | |
tree | 4e3c560c715bb2105059ad2416a61c54dcd8ed74 | |
parent | 05848c2fa23bae5e5725e12d49f79aa5de143504 (diff) |
sync regression tests, since the output format has changed slightly
(the argument number is included in -Wbounded error messages)
7 files changed, 14 insertions, 7 deletions
diff --git a/regress/gnu/egcs/gcc-bounds/snprintf-2.cpp.exp.gcc3 b/regress/gnu/egcs/gcc-bounds/snprintf-2.cpp.exp.gcc3 index 3e034bd001e..387989dafc8 100644 --- a/regress/gnu/egcs/gcc-bounds/snprintf-2.cpp.exp.gcc3 +++ b/regress/gnu/egcs/gcc-bounds/snprintf-2.cpp.exp.gcc3 @@ -1,2 +1,3 @@ snprintf-2.cpp: In function `int main(int, char**)': snprintf-2.cpp:5: warning: array size (20) smaller than bound length (30) +snprintf-2.cpp:5: warning: array size (20) smaller than bound length (30) diff --git a/regress/gnu/egcs/gcc-bounds/snprintf-3.cpp.exp.gcc3 b/regress/gnu/egcs/gcc-bounds/snprintf-3.cpp.exp.gcc3 index 02f0a3b0fdb..6bf8bec16f5 100644 --- a/regress/gnu/egcs/gcc-bounds/snprintf-3.cpp.exp.gcc3 +++ b/regress/gnu/egcs/gcc-bounds/snprintf-3.cpp.exp.gcc3 @@ -1,2 +1,3 @@ snprintf-3.cpp: In function `int main(int, char**)': snprintf-3.cpp:5: warning: sizeof(pointer) possibly incorrect in argument 2 +snprintf-3.cpp:5: warning: sizeof(pointer) possibly incorrect in argument 2 diff --git a/regress/gnu/egcs/gcc-bounds/snprintf-4.cpp.exp.gcc3 b/regress/gnu/egcs/gcc-bounds/snprintf-4.cpp.exp.gcc3 index 346e3936ef5..6c2e60f73c5 100644 --- a/regress/gnu/egcs/gcc-bounds/snprintf-4.cpp.exp.gcc3 +++ b/regress/gnu/egcs/gcc-bounds/snprintf-4.cpp.exp.gcc3 @@ -1,3 +1,5 @@ snprintf-4.cpp: In function `int main(int, char**)': snprintf-4.cpp:6: warning: sizeof(pointer) possibly incorrect in argument 2 -snprintf-4.cpp:6: warning: array size (10) smaller than bound length (92) +snprintf-4.cpp:6: warning: array size (10) smaller than bound length (96) +snprintf-4.cpp:6: warning: sizeof(pointer) possibly incorrect in argument 2 +snprintf-4.cpp:6: warning: array size (10) smaller than bound length (96) diff --git a/regress/gnu/egcs/gcc-bounds/snprintf-5.cpp.exp.gcc3 b/regress/gnu/egcs/gcc-bounds/snprintf-5.cpp.exp.gcc3 index 8abe14003fb..9c30b6a2cfc 100644 --- a/regress/gnu/egcs/gcc-bounds/snprintf-5.cpp.exp.gcc3 +++ b/regress/gnu/egcs/gcc-bounds/snprintf-5.cpp.exp.gcc3 @@ -1,2 +1,3 @@ snprintf-5.cpp: In function `int main(int, char**)': snprintf-5.cpp:5: warning: non-positive bounds length (-10) detected +snprintf-5.cpp:5: warning: non-positive bounds length (-10) detected diff --git a/regress/gnu/egcs/gcc-bounds/sscanf-1.cpp.exp.gcc3 b/regress/gnu/egcs/gcc-bounds/sscanf-1.cpp.exp.gcc3 index 8b979d48260..0bd6892442e 100644 --- a/regress/gnu/egcs/gcc-bounds/sscanf-1.cpp.exp.gcc3 +++ b/regress/gnu/egcs/gcc-bounds/sscanf-1.cpp.exp.gcc3 @@ -1,3 +1,5 @@ -sscanf-1.cpp: In function `int main(int, char **)': -sscanf-1.cpp:6: warning: Array size (10) smaller than format string size (21) -sscanf-1.cpp:6: warning: Array size (10) smaller than format string size (11) +sscanf-1.cpp: In function `int main(int, char**)': +sscanf-1.cpp:6: warning: Array size (10) smaller than format string size (21) + (arg 3) +sscanf-1.cpp:6: warning: Array size (10) smaller than format string size (11) + (arg 4) diff --git a/regress/gnu/egcs/gcc-bounds/sscanf-2.c.exp.gcc3 b/regress/gnu/egcs/gcc-bounds/sscanf-2.c.exp.gcc3 index eeb4a57d89c..80d526d4913 100644 --- a/regress/gnu/egcs/gcc-bounds/sscanf-2.c.exp.gcc3 +++ b/regress/gnu/egcs/gcc-bounds/sscanf-2.c.exp.gcc3 @@ -1,3 +1,3 @@ sscanf-2.c: In function `main': -sscanf-2.c:6: warning: Array size (10) smaller than format string size (21) -sscanf-2.c:6: warning: Array size (10) smaller than format string size (11) +sscanf-2.c:6: warning: Array size (10) smaller than format string size (21) (arg 3) +sscanf-2.c:6: warning: Array size (10) smaller than format string size (11) (arg 4) diff --git a/regress/gnu/egcs/gcc-bounds/sscanf-5.c.exp.gcc3 b/regress/gnu/egcs/gcc-bounds/sscanf-5.c.exp.gcc3 index 3571b056ac1..a57331168f2 100644 --- a/regress/gnu/egcs/gcc-bounds/sscanf-5.c.exp.gcc3 +++ b/regress/gnu/egcs/gcc-bounds/sscanf-5.c.exp.gcc3 @@ -1,2 +1,2 @@ sscanf-5.c: In function `main': -sscanf-5.c:6: warning: Array size (10) smaller than format string size (20) +sscanf-5.c:6: warning: Array size (10) smaller than format string size (20) (arg 3) |