]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
With gcc 4.9.1 exp-sgcheck/tests/globalerr sees array "a", not unknown.
authorMark Wielaard <mark@klomp.org>
Fri, 29 Aug 2014 21:18:17 +0000 (21:18 +0000)
committerMark Wielaard <mark@klomp.org>
Fri, 29 Aug 2014 21:18:17 +0000 (21:18 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14388

exp-sgcheck/tests/globalerr.stderr.exp-gcc491-amd64 [new file with mode: 0644]

diff --git a/exp-sgcheck/tests/globalerr.stderr.exp-gcc491-amd64 b/exp-sgcheck/tests/globalerr.stderr.exp-gcc491-amd64
new file mode 100644 (file)
index 0000000..b7df06c
--- /dev/null
@@ -0,0 +1,17 @@
+
+Invalid read of size 2
+   at 0x........: main (globalerr.c:12)
+ Address 0x........ expected vs actual:
+ Expected: global array "a" of size 14 in object with soname "NONE"
+ Actual:   unknown
+ Actual:   is 0 after Expected
+
+Invalid read of size 2
+   at 0x........: main (globalerr.c:12)
+ Address 0x........ expected vs actual:
+ Expected: global array "b" of size 14 in object with soname "NONE"
+ Actual:   global array "a" of size 14 in object with soname "NONE"
+ Actual:   is 0 after Expected
+
+
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)