the same output on s390 as on other systems (not tested yet).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12103
#include <assert.h> /* assert() */
#include <pthread.h>
+#include <stdint.h>
#include <stdio.h> /* EOF */
#include <unistd.h> /* getopt() */
#include "../../drd/drd.h"
-static int s_a;
-static int s_b;
-static int s_c;
+static int8_t s_a;
+static int8_t s_b;
+static int8_t s_c;
static void* thread_func(void* arg)
{
-Conflicting load by thread 1 at 0x........ size 4
+Conflicting load by thread 1 at 0x........ size 1
at 0x........: main (annotate_ignore_rw.c:?)
Location 0x........ is 0 bytes inside local var "s_c"
-declared at annotate_ignore_rw.c:11, in frame #? of thread 1
+declared at annotate_ignore_rw.c:12, in frame #? of thread 1
Finished.
-Conflicting load by thread 1 at 0x........ size 4
+Conflicting load by thread 1 at 0x........ size 1
at 0x........: main (annotate_ignore_rw.c:?)
Location 0x........ is 0 bytes inside local var "s_b"
-declared at annotate_ignore_rw.c:10, in frame #? of thread 1
+declared at annotate_ignore_rw.c:11, in frame #? of thread 1
-Conflicting store by thread 1 at 0x........ size 4
+Conflicting store by thread 1 at 0x........ size 1
at 0x........: main (annotate_ignore_rw.c:?)
Location 0x........ is 0 bytes inside local var "s_a"
-declared at annotate_ignore_rw.c:9, in frame #? of thread 1
+declared at annotate_ignore_rw.c:10, in frame #? of thread 1
-Conflicting load by thread 1 at 0x........ size 4
+Conflicting load by thread 1 at 0x........ size 1
at 0x........: main (annotate_ignore_rw.c:?)
Location 0x........ is 0 bytes inside local var "s_c"
-declared at annotate_ignore_rw.c:11, in frame #? of thread 1
+declared at annotate_ignore_rw.c:12, in frame #? of thread 1
Finished.
+++ /dev/null
-
-Conflicting load by thread 1 at 0x........ size 1
- at 0x........: main (annotate_ignore_rw.c:?)
-Location 0x........ is 0 bytes inside local var "s_b"
-declared at annotate_ignore_rw.c:10, in frame #? of thread 1
-
-Conflicting store by thread 1 at 0x........ size 1
- at 0x........: main (annotate_ignore_rw.c:?)
-Location 0x........ is 0 bytes inside local var "s_a"
-declared at annotate_ignore_rw.c:9, in frame #? of thread 1
-
-Conflicting load by thread 1 at 0x........ size 4
- at 0x........: main (annotate_ignore_rw.c:?)
-Location 0x........ is 0 bytes inside local var "s_c"
-declared at annotate_ignore_rw.c:11, in frame #? of thread 1
-
-Finished.
-
-ERROR SUMMARY: 9 errors from 3 contexts (suppressed: 0 from 0)
#include <assert.h> /* assert() */
#include <pthread.h>
+#include <stdint.h>
#include <stdio.h> /* EOF */
#include <unistd.h> /* getopt() */
#include "../../drd/drd.h"
-static int s_a;
-static int s_b;
-static int s_c;
+static int8_t s_a;
+static int8_t s_b;
+static int8_t s_c;
static void* thread_func(void* arg)
{
-Conflicting load by thread 1 at 0x........ size 4
+Conflicting load by thread 1 at 0x........ size 1
at 0x........: main (annotate_ignore_write.c:?)
Location 0x........ is 0 bytes inside local var "s_b"
-declared at annotate_ignore_write.c:10, in frame #? of thread 1
+declared at annotate_ignore_write.c:11, in frame #? of thread 1
-Conflicting load by thread 1 at 0x........ size 4
+Conflicting load by thread 1 at 0x........ size 1
at 0x........: main (annotate_ignore_write.c:?)
Location 0x........ is 0 bytes inside local var "s_c"
-declared at annotate_ignore_write.c:11, in frame #? of thread 1
+declared at annotate_ignore_write.c:12, in frame #? of thread 1
-Conflicting store by thread 1 at 0x........ size 4
+Conflicting store by thread 1 at 0x........ size 1
at 0x........: main (annotate_ignore_write.c:?)
Location 0x........ is 0 bytes inside local var "s_a"
-declared at annotate_ignore_write.c:9, in frame #? of thread 1
+declared at annotate_ignore_write.c:10, in frame #? of thread 1
Finished.
+++ /dev/null
-
-Conflicting load by thread 1 at 0x........ size 1
- at 0x........: main (annotate_ignore_write.c:?)
-Location 0x........ is 0 bytes inside local var "s_b"
-declared at annotate_ignore_write.c:10, in frame #? of thread 1
-
-Conflicting load by thread 1 at 0x........ size 1
- at 0x........: main (annotate_ignore_write.c:?)
-Location 0x........ is 0 bytes inside local var "s_c"
-declared at annotate_ignore_write.c:11, in frame #? of thread 1
-
-Conflicting store by thread 1 at 0x........ size 1
- at 0x........: main (annotate_ignore_write.c:?)
-Location 0x........ is 0 bytes inside local var "s_a"
-declared at annotate_ignore_write.c:9, in frame #? of thread 1
-
-Finished.
-
-ERROR SUMMARY: 12 errors from 3 contexts (suppressed: 0 from 0)
-Conflicting load by thread 1 at 0x........ size 4
+Conflicting load by thread 1 at 0x........ size 1
at 0x........: main (annotate_ignore_write.c:?)
Location 0x........ is 0 bytes inside local var "s_b"
-declared at annotate_ignore_write.c:10, in frame #? of thread 1
+declared at annotate_ignore_write.c:11, in frame #? of thread 1
-Conflicting store by thread 1 at 0x........ size 4
+Conflicting store by thread 1 at 0x........ size 1
at 0x........: main (annotate_ignore_write.c:?)
Location 0x........ is 0 bytes inside local var "s_a"
-declared at annotate_ignore_write.c:9, in frame #? of thread 1
+declared at annotate_ignore_write.c:10, in frame #? of thread 1
-Conflicting load by thread 1 at 0x........ size 4
+Conflicting load by thread 1 at 0x........ size 1
at 0x........: main (annotate_ignore_write.c:?)
Location 0x........ is 0 bytes inside local var "s_c"
-declared at annotate_ignore_write.c:11, in frame #? of thread 1
+declared at annotate_ignore_write.c:12, in frame #? of thread 1
-Conflicting store by thread 1 at 0x........ size 4
+Conflicting store by thread 1 at 0x........ size 1
at 0x........: main (annotate_ignore_write.c:?)
Location 0x........ is 0 bytes inside local var "s_a"
-declared at annotate_ignore_write.c:9, in frame #? of thread 1
+declared at annotate_ignore_write.c:10, in frame #? of thread 1
Finished.
+++ /dev/null
-
-Conflicting load by thread 1 at 0x........ size 1
- at 0x........: main (annotate_ignore_write.c:?)
-Location 0x........ is 0 bytes inside local var "s_b"
-declared at annotate_ignore_write.c:10, in frame #? of thread 1
-
-Conflicting store by thread 1 at 0x........ size 1
- at 0x........: main (annotate_ignore_write.c:?)
-Location 0x........ is 0 bytes inside local var "s_a"
-declared at annotate_ignore_write.c:9, in frame #? of thread 1
-
-Conflicting load by thread 1 at 0x........ size 1
- at 0x........: main (annotate_ignore_write.c:?)
-Location 0x........ is 0 bytes inside local var "s_c"
-declared at annotate_ignore_write.c:11, in frame #? of thread 1
-
-Conflicting store by thread 1 at 0x........ size 1
- at 0x........: main (annotate_ignore_write.c:?)
-Location 0x........ is 0 bytes inside local var "s_a"
-declared at annotate_ignore_write.c:9, in frame #? of thread 1
-
-Finished.
-
-ERROR SUMMARY: 16 errors from 4 contexts (suppressed: 0 from 0)
#include <assert.h>
#include <limits.h>
#include <pthread.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
{
pthread_barrier_t* b;
pthread_t tid;
- int* array;
+ int8_t* array;
int iterations;
};
+++ /dev/null
-ERROR SUMMARY: 4 errors from 1 contexts
+++ /dev/null
-ERROR SUMMARY: 128 errors
+++ /dev/null
-ERROR SUMMARY: 124 errors