summaryrefslogtreecommitdiff
path: root/regress/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'regress/gnu')
-rw-r--r--regress/gnu/egcs/gcc-bounds/builtins-1.c.exp.gcc421
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-1.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-10.c.exp.gcc41
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-11.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-12.c.exp.gcc41
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-13.c.exp.gcc41
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-14.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-15.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-2.c.exp.gcc41
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-3.c.exp.gcc41
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-4.c.exp.gcc41
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-5.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-6.c.exp.gcc41
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-7.c.exp.gcc41
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-8.c.exp.gcc41
-rw-r--r--regress/gnu/egcs/gcc-bounds/declare-9.c.exp.gcc41
-rw-r--r--regress/gnu/egcs/gcc-bounds/fread-1.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/fread-2.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/fread-3.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/fread-4.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/getcwd-1.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/getcwd-2.c.exp.gcc43
-rw-r--r--regress/gnu/egcs/gcc-bounds/getcwd-3.c.exp.gcc43
-rw-r--r--regress/gnu/egcs/gcc-bounds/getcwd-4.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/md-1.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/md-2.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/md-3.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/md-4.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/md-5.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/md-6.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/memcpy-1.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/memcpy-2.c.exp.gcc43
-rw-r--r--regress/gnu/egcs/gcc-bounds/memcpy-3.c.exp.gcc43
-rw-r--r--regress/gnu/egcs/gcc-bounds/memcpy-4.c.exp.gcc45
-rw-r--r--regress/gnu/egcs/gcc-bounds/memcpy-5.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/memcpy-6.c.exp.gcc43
-rw-r--r--regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp.gcc43
-rw-r--r--regress/gnu/egcs/gcc-bounds/snprintf-1.cpp.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/snprintf-2.cpp.exp.gcc43
-rw-r--r--regress/gnu/egcs/gcc-bounds/snprintf-3.cpp.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/snprintf-4.cpp.exp.gcc43
-rw-r--r--regress/gnu/egcs/gcc-bounds/snprintf-5.cpp.exp.gcc43
-rw-r--r--regress/gnu/egcs/gcc-bounds/sscanf-1.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/sscanf-1.cpp.exp.gcc43
-rw-r--r--regress/gnu/egcs/gcc-bounds/sscanf-2.c.exp.gcc43
-rw-r--r--regress/gnu/egcs/gcc-bounds/sscanf-3.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/sscanf-4.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/sscanf-5.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/sscanf-6.c.exp.gcc44
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcat-1.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcat-2.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcat-3.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcat-4.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcat-5.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcat-6.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcpy-1.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcpy-2.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcpy-3.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcpy-4.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcpy-5.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/strlcpy-6.c.exp.gcc40
-rw-r--r--regress/gnu/egcs/gcc-bounds/vararray-1.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/vararray-2.c.exp.gcc42
-rw-r--r--regress/gnu/egcs/gcc-bounds/vararray-3.c.exp.gcc42
64 files changed, 101 insertions, 0 deletions
diff --git a/regress/gnu/egcs/gcc-bounds/builtins-1.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/builtins-1.c.exp.gcc4
new file mode 100644
index 00000000000..f937647b101
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/builtins-1.c.exp.gcc4
@@ -0,0 +1,21 @@
+builtins-1.c: In function 'main':
+builtins-1.c:12: warning: array size (100) smaller than bound length (200)
+builtins-1.c:12: warning: array size (100) smaller than bound length (200)
+builtins-1.c:13: warning: array size (50) smaller than bound length (100)
+builtins-1.c:13: warning: array size (50) smaller than bound length (100)
+builtins-1.c:14: warning: array size (50) smaller than bound length (105)
+builtins-1.c:14: warning: array size (100) smaller than bound length (105)
+builtins-1.c:14: warning: array size (50) smaller than bound length (105)
+builtins-1.c:14: warning: array size (100) smaller than bound length (105)
+builtins-1.c:15: warning: array size (100) smaller than bound length (500)
+builtins-1.c:15: warning: array size (100) smaller than bound length (500)
+builtins-1.c:16: warning: array size (50) smaller than bound length (1000)
+builtins-1.c:16: warning: array size (50) smaller than bound length (1000)
+builtins-1.c:17: warning: array size (50) smaller than bound length (1234)
+builtins-1.c:17: warning: array size (50) smaller than bound length (1234)
+builtins-1.c:18: warning: array size (100) smaller than bound length (5432)
+builtins-1.c:18: warning: array size (100) smaller than bound length (5432)
+builtins-1.c:19: warning: array size (100) smaller than bound length (2345)
+builtins-1.c:19: warning: array size (100) smaller than bound length (2345)
+builtins-1.c:20: warning: array size (100) smaller than required length (4 * 123)
+builtins-1.c:20: warning: array size (100) smaller than required length (4 * 123)
diff --git a/regress/gnu/egcs/gcc-bounds/declare-1.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-1.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-1.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/declare-10.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-10.c.exp.gcc4
new file mode 100644
index 00000000000..6e956337f4a
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-10.c.exp.gcc4
@@ -0,0 +1 @@
+declare-10.c:2: error: bound element size argument not an integer type
diff --git a/regress/gnu/egcs/gcc-bounds/declare-11.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-11.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-11.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/declare-12.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-12.c.exp.gcc4
new file mode 100644
index 00000000000..b2895b299ec
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-12.c.exp.gcc4
@@ -0,0 +1 @@
+declare-12.c:2: error: bound element size argument not an integer type
diff --git a/regress/gnu/egcs/gcc-bounds/declare-13.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-13.c.exp.gcc4
new file mode 100644
index 00000000000..68f3aa069f9
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-13.c.exp.gcc4
@@ -0,0 +1 @@
+declare-13.c:2: warning: `__foo__' is an unrecognized bounded function type
diff --git a/regress/gnu/egcs/gcc-bounds/declare-14.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-14.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-14.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/declare-15.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-15.c.exp.gcc4
new file mode 100644
index 00000000000..6723d299b1c
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-15.c.exp.gcc4
@@ -0,0 +1,2 @@
+declare-15.c:2: error: 'TEST_SIZE' undeclared here (not in a function)
+declare-15.c:2: error: bound length operand number is not an integer constant
diff --git a/regress/gnu/egcs/gcc-bounds/declare-2.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-2.c.exp.gcc4
new file mode 100644
index 00000000000..82938564e75
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-2.c.exp.gcc4
@@ -0,0 +1 @@
+declare-2.c:2: error: bound buffer argument not an array or pointer type
diff --git a/regress/gnu/egcs/gcc-bounds/declare-3.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-3.c.exp.gcc4
new file mode 100644
index 00000000000..0446d33276c
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-3.c.exp.gcc4
@@ -0,0 +1 @@
+declare-3.c:2: error: bound length operand number is not an integer constant
diff --git a/regress/gnu/egcs/gcc-bounds/declare-4.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-4.c.exp.gcc4
new file mode 100644
index 00000000000..eae8acb01ba
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-4.c.exp.gcc4
@@ -0,0 +1 @@
+declare-4.c:2: warning: `string' bound type only takes 2 parameters
diff --git a/regress/gnu/egcs/gcc-bounds/declare-5.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-5.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-5.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/declare-6.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-6.c.exp.gcc4
new file mode 100644
index 00000000000..2860f1b8550
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-6.c.exp.gcc4
@@ -0,0 +1 @@
+declare-6.c:2: error: `minbytes' bound size must be a positive integer value
diff --git a/regress/gnu/egcs/gcc-bounds/declare-7.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-7.c.exp.gcc4
new file mode 100644
index 00000000000..dcf1ba02805
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-7.c.exp.gcc4
@@ -0,0 +1 @@
+declare-7.c:2: warning: `minbytes' bound type only takes 2 parameters
diff --git a/regress/gnu/egcs/gcc-bounds/declare-8.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-8.c.exp.gcc4
new file mode 100644
index 00000000000..da0111dda08
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-8.c.exp.gcc4
@@ -0,0 +1 @@
+declare-8.c:2: error: wrong number of arguments specified for '__bounded__' attribute
diff --git a/regress/gnu/egcs/gcc-bounds/declare-9.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/declare-9.c.exp.gcc4
new file mode 100644
index 00000000000..3ab0481a517
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/declare-9.c.exp.gcc4
@@ -0,0 +1 @@
+declare-9.c:2: error: parameter 3 not specified for `size' bounded function
diff --git a/regress/gnu/egcs/gcc-bounds/fread-1.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/fread-1.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/fread-1.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/fread-2.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/fread-2.c.exp.gcc4
new file mode 100644
index 00000000000..e6c5c0e1f82
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/fread-2.c.exp.gcc4
@@ -0,0 +1,2 @@
+fread-2.c: In function 'main':
+fread-2.c:6: warning: array size (100) smaller than required length (110 * 1)
diff --git a/regress/gnu/egcs/gcc-bounds/fread-3.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/fread-3.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/fread-3.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/fread-4.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/fread-4.c.exp.gcc4
new file mode 100644
index 00000000000..5bfe52b4fb5
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/fread-4.c.exp.gcc4
@@ -0,0 +1,2 @@
+fread-4.c: In function 'main':
+fread-4.c:6: warning: array size (100) smaller than required length (100 * 4)
diff --git a/regress/gnu/egcs/gcc-bounds/getcwd-1.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/getcwd-1.c.exp.gcc4
new file mode 100644
index 00000000000..08783a7ddc9
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/getcwd-1.c.exp.gcc4
@@ -0,0 +1,2 @@
+getcwd-1.c: In function 'main':
+getcwd-1.c:5: warning: array size (10) is smaller than minimum required (1024)
diff --git a/regress/gnu/egcs/gcc-bounds/getcwd-2.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/getcwd-2.c.exp.gcc4
new file mode 100644
index 00000000000..c2b3c0b2562
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/getcwd-2.c.exp.gcc4
@@ -0,0 +1,3 @@
+getcwd-2.c: In function 'main':
+getcwd-2.c:5: warning: array size (10) is smaller than minimum required (1024)
+getcwd-2.c:5: warning: non-positive bounds length (-990) detected
diff --git a/regress/gnu/egcs/gcc-bounds/getcwd-3.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/getcwd-3.c.exp.gcc4
new file mode 100644
index 00000000000..db48b322345
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/getcwd-3.c.exp.gcc4
@@ -0,0 +1,3 @@
+getcwd-3.c: In function 'main':
+getcwd-3.c:5: warning: array size (10) is smaller than minimum required (1024)
+getcwd-3.c:5: warning: array size (10) smaller than bound length (2010)
diff --git a/regress/gnu/egcs/gcc-bounds/getcwd-4.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/getcwd-4.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/getcwd-4.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/md-1.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/md-1.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/md-1.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/md-2.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/md-2.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/md-2.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/md-3.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/md-3.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/md-3.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/md-4.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/md-4.c.exp.gcc4
new file mode 100644
index 00000000000..bd91ca76a93
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/md-4.c.exp.gcc4
@@ -0,0 +1,2 @@
+md-4.c: In function 'main':
+md-4.c:15: warning: array size (10) is smaller than minimum required (33)
diff --git a/regress/gnu/egcs/gcc-bounds/md-5.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/md-5.c.exp.gcc4
new file mode 100644
index 00000000000..166b1495d44
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/md-5.c.exp.gcc4
@@ -0,0 +1,2 @@
+md-5.c: In function 'main':
+md-5.c:16: warning: array size (32) is smaller than minimum required (41)
diff --git a/regress/gnu/egcs/gcc-bounds/md-6.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/md-6.c.exp.gcc4
new file mode 100644
index 00000000000..c8764285eca
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/md-6.c.exp.gcc4
@@ -0,0 +1,2 @@
+md-6.c: In function 'main':
+md-6.c:15: warning: array size (20) is smaller than minimum required (41)
diff --git a/regress/gnu/egcs/gcc-bounds/memcpy-1.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/memcpy-1.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/memcpy-1.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/memcpy-2.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/memcpy-2.c.exp.gcc4
new file mode 100644
index 00000000000..61a890e5ef2
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/memcpy-2.c.exp.gcc4
@@ -0,0 +1,3 @@
+memcpy-2.c: In function 'main':
+memcpy-2.c:6: warning: array size (8) smaller than bound length (10)
+memcpy-2.c:6: warning: array size (8) smaller than bound length (10)
diff --git a/regress/gnu/egcs/gcc-bounds/memcpy-3.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/memcpy-3.c.exp.gcc4
new file mode 100644
index 00000000000..72af2f529a7
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/memcpy-3.c.exp.gcc4
@@ -0,0 +1,3 @@
+memcpy-3.c: In function 'main':
+memcpy-3.c:6: warning: array size (4) smaller than bound length (8)
+memcpy-3.c:6: warning: array size (4) smaller than bound length (8)
diff --git a/regress/gnu/egcs/gcc-bounds/memcpy-4.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/memcpy-4.c.exp.gcc4
new file mode 100644
index 00000000000..3fde86198b1
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/memcpy-4.c.exp.gcc4
@@ -0,0 +1,5 @@
+memcpy-4.c: In function 'main':
+memcpy-4.c:6: warning: non-positive bounds length (-100) detected
+memcpy-4.c:6: warning: non-positive bounds length (-100) detected
+memcpy-4.c:6: warning: non-positive bounds length (-100) detected
+memcpy-4.c:6: warning: non-positive bounds length (-100) detected
diff --git a/regress/gnu/egcs/gcc-bounds/memcpy-5.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/memcpy-5.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/memcpy-5.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/memcpy-6.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/memcpy-6.c.exp.gcc4
new file mode 100644
index 00000000000..c25631b9a1b
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/memcpy-6.c.exp.gcc4
@@ -0,0 +1,3 @@
+memcpy-6.c: In function 'main':
+memcpy-6.c:6: warning: array size (32) smaller than bound length (40)
+memcpy-6.c:6: warning: array size (32) smaller than bound length (40)
diff --git a/regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp.gcc4
new file mode 100644
index 00000000000..4ea8895f015
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/memcpy-8.c.exp.gcc4
@@ -0,0 +1,3 @@
+memcpy-8.c: In function 'main':
+memcpy-8.c:4: warning: ISO C forbids zero-size array 'buf'
+memcpy-8.c:5: warning: ISO C forbids zero-size array 'buf2'
diff --git a/regress/gnu/egcs/gcc-bounds/snprintf-1.cpp.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/snprintf-1.cpp.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/snprintf-1.cpp.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/snprintf-2.cpp.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/snprintf-2.cpp.exp.gcc4
new file mode 100644
index 00000000000..b3067e243e9
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/snprintf-2.cpp.exp.gcc4
@@ -0,0 +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.gcc4 b/regress/gnu/egcs/gcc-bounds/snprintf-3.cpp.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/snprintf-3.cpp.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/snprintf-4.cpp.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/snprintf-4.cpp.exp.gcc4
new file mode 100644
index 00000000000..a467d0d951e
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/snprintf-4.cpp.exp.gcc4
@@ -0,0 +1,3 @@
+snprintf-4.cpp: In function 'int main(int, char**)':
+snprintf-4.cpp:12: warning: array size (10) smaller than bound length (96)
+snprintf-4.cpp:12: warning: array size (10) smaller than bound length (96)
diff --git a/regress/gnu/egcs/gcc-bounds/snprintf-5.cpp.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/snprintf-5.cpp.exp.gcc4
new file mode 100644
index 00000000000..4c78881fac7
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/snprintf-5.cpp.exp.gcc4
@@ -0,0 +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.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/sscanf-1.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/sscanf-1.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/sscanf-1.cpp.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/sscanf-1.cpp.exp.gcc4
new file mode 100644
index 00000000000..5eceef72c33
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/sscanf-1.cpp.exp.gcc4
@@ -0,0 +1,3 @@
+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.gcc4 b/regress/gnu/egcs/gcc-bounds/sscanf-2.c.exp.gcc4
new file mode 100644
index 00000000000..31413c3b4ba
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/sscanf-2.c.exp.gcc4
@@ -0,0 +1,3 @@
+sscanf-2.c: In function 'main':
+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-3.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/sscanf-3.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/sscanf-3.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/sscanf-4.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/sscanf-4.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/sscanf-4.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/sscanf-5.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/sscanf-5.c.exp.gcc4
new file mode 100644
index 00000000000..ef334b8e7ac
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/sscanf-5.c.exp.gcc4
@@ -0,0 +1,2 @@
+sscanf-5.c: In function 'main':
+sscanf-5.c:6: warning: Array size (10) smaller than format string size (20) (arg 3)
diff --git a/regress/gnu/egcs/gcc-bounds/sscanf-6.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/sscanf-6.c.exp.gcc4
new file mode 100644
index 00000000000..4a9cd27e0a5
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/sscanf-6.c.exp.gcc4
@@ -0,0 +1,4 @@
+sscanf-6.c: In function 'main':
+sscanf-6.c:6: warning: Array size (20) smaller than format string size (31) (arg 6)
+sscanf-6.c:6: warning: format '%50d' expects type 'int *', but argument 7 has type 'char *'
+sscanf-6.c:6: warning: Array size (20) smaller than format string size (21) (arg 9)
diff --git a/regress/gnu/egcs/gcc-bounds/strlcat-1.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcat-1.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcat-1.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/strlcat-2.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcat-2.c.exp.gcc4
new file mode 100644
index 00000000000..a157902913d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcat-2.c.exp.gcc4
@@ -0,0 +1,2 @@
+strlcat-2.c: In function 'main':
+strlcat-2.c:6: warning: non-positive bounds length (-1) detected
diff --git a/regress/gnu/egcs/gcc-bounds/strlcat-3.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcat-3.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcat-3.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/strlcat-4.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcat-4.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcat-4.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/strlcat-5.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcat-5.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcat-5.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/strlcat-6.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcat-6.c.exp.gcc4
new file mode 100644
index 00000000000..80fc57abee3
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcat-6.c.exp.gcc4
@@ -0,0 +1,2 @@
+strlcat-6.c: In function 'main':
+strlcat-6.c:6: warning: non-positive bounds length (-1) detected
diff --git a/regress/gnu/egcs/gcc-bounds/strlcpy-1.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcpy-1.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcpy-1.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/strlcpy-2.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcpy-2.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcpy-2.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/strlcpy-3.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcpy-3.c.exp.gcc4
new file mode 100644
index 00000000000..4d898492462
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcpy-3.c.exp.gcc4
@@ -0,0 +1,2 @@
+strlcpy-3.c: In function 'main':
+strlcpy-3.c:6: warning: array size (10) smaller than bound length (15)
diff --git a/regress/gnu/egcs/gcc-bounds/strlcpy-4.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcpy-4.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcpy-4.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/strlcpy-5.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcpy-5.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcpy-5.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/strlcpy-6.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/strlcpy-6.c.exp.gcc4
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/strlcpy-6.c.exp.gcc4
diff --git a/regress/gnu/egcs/gcc-bounds/vararray-1.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/vararray-1.c.exp.gcc4
new file mode 100644
index 00000000000..9feb45b4042
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/vararray-1.c.exp.gcc4
@@ -0,0 +1,2 @@
+vararray-1.c: In function 'main':
+vararray-1.c:8: warning: ISO C90 forbids variable-size array 'sample_buffer'
diff --git a/regress/gnu/egcs/gcc-bounds/vararray-2.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/vararray-2.c.exp.gcc4
new file mode 100644
index 00000000000..9340c296c3b
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/vararray-2.c.exp.gcc4
@@ -0,0 +1,2 @@
+vararray-2.c: In function 'main':
+vararray-2.c:5: warning: ISO C90 forbids variable-size array 'sample_buffer'
diff --git a/regress/gnu/egcs/gcc-bounds/vararray-3.c.exp.gcc4 b/regress/gnu/egcs/gcc-bounds/vararray-3.c.exp.gcc4
new file mode 100644
index 00000000000..9c8be1bbb37
--- /dev/null
+++ b/regress/gnu/egcs/gcc-bounds/vararray-3.c.exp.gcc4
@@ -0,0 +1,2 @@
+vararray-3.c: In function 'main':
+vararray-3.c:7: warning: ISO C90 forbids variable-size array 'buf2'