|
From: <sv...@va...> - 2011-10-26 15:32:25
|
Author: florian
Date: 2011-10-26 16:27:41 +0100 (Wed, 26 Oct 2011)
New Revision: 12235
Log:
Give function copy_input_until_stop the noinline atribute.
At least one of the compilers for s390x nightly builds was inlining it.
Update exp files accoordingly. This should fix any residual back-trace
noise for this testcase.
Modified:
trunk/memcheck/tests/origin5-bz2.c
trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc212-s390x
trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-amd64
trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-x86
trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc27-ppc64
Modified: trunk/memcheck/tests/origin5-bz2.c
===================================================================
--- trunk/memcheck/tests/origin5-bz2.c 2011-10-26 15:10:49 UTC (rev 12234)
+++ trunk/memcheck/tests/origin5-bz2.c 2011-10-26 15:27:41 UTC (rev 12235)
@@ -4651,7 +4651,7 @@
/*---------------------------------------------------*/
-static
+static __attribute__((noinline))
Bool copy_input_until_stop ( EState* s )
{
Bool progress_in = False;
Modified: trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc212-s390x
===================================================================
--- trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc212-s390x 2011-10-26 15:10:49 UTC (rev 12234)
+++ trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc212-s390x 2011-10-26 15:27:41 UTC (rev 12235)
@@ -4,7 +4,8 @@
at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -12,7 +13,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -20,7 +22,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Modified: trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-amd64
===================================================================
--- trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-amd64 2011-10-26 15:10:49 UTC (rev 12234)
+++ trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-amd64 2011-10-26 15:27:41 UTC (rev 12235)
@@ -4,7 +4,8 @@
at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -12,7 +13,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -20,7 +22,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Modified: trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-x86
===================================================================
--- trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-x86 2011-10-26 15:10:49 UTC (rev 12234)
+++ trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-x86 2011-10-26 15:27:41 UTC (rev 12235)
@@ -4,7 +4,8 @@
at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -12,7 +13,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -20,7 +22,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Modified: trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc27-ppc64
===================================================================
--- trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc27-ppc64 2011-10-26 15:10:49 UTC (rev 12234)
+++ trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc27-ppc64 2011-10-26 15:27:41 UTC (rev 12235)
@@ -4,7 +4,8 @@
at 0x........: main (origin5-bz2.c:6481)
Conditional jump or move depends on uninitialised value(s)
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -12,7 +13,8 @@
at 0x........: main (origin5-bz2.c:6481)
Use of uninitialised value of size 8
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -20,7 +22,8 @@
at 0x........: main (origin5-bz2.c:6481)
Use of uninitialised value of size 8
- at 0x........: handle_compress (origin5-bz2.c:4686)
+ at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
+ by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
|