1
1

Remove all uninitialized common symbols in the test directory.

Этот коммит содержится в:
George Bosilca 2015-04-25 13:54:45 -04:00
родитель 7d870c8b9e
Коммит 98cca1b6b3
5 изменённых файлов: 21 добавлений и 21 удалений

Просмотреть файл

@ -42,26 +42,26 @@ int nreps = 100;
int nthreads = 2; int nthreads = 2;
int enable_verbose = 0; int enable_verbose = 0;
volatile int32_t vol32; volatile int32_t vol32 = 0;
int32_t val32; int32_t val32 = 0;
int32_t old32; int32_t old32 = 0;
int32_t new32; int32_t new32 = 0;
#if OPAL_HAVE_ATOMIC_MATH_64 #if OPAL_HAVE_ATOMIC_MATH_64
volatile int64_t vol64; volatile int64_t vol64 = 0;
int64_t val64; int64_t val64 = 0;
int64_t old64; int64_t old64 = 0;
int64_t new64; int64_t new64 = 0;
#endif #endif
volatile int volint; volatile int volint = 0;
int valint; int valint = 0;
int oldint; int oldint = 0;
int newint; int newint = 0;
volatile void *volptr; volatile void *volptr = NULL;
void *oldptr; void *oldptr = NULL;
void *newptr; void *newptr = NULL;
static void *thread_main(void *arg) static void *thread_main(void *arg)

Просмотреть файл

@ -39,7 +39,7 @@ mpicc -DHAVE_CONFIG_H -I. -I../../include -I../../../ompi-trunk/include -I../..
#define DUMP_DATA_AFTER_COMMIT 0x00000001 #define DUMP_DATA_AFTER_COMMIT 0x00000001
#define CHECK_PACK_UNPACK 0x00000002 #define CHECK_PACK_UNPACK 0x00000002
uint32_t remote_arch; uint32_t remote_arch = 0xffffffff;
static int test_upper( unsigned int length ) static int test_upper( unsigned int length )
{ {

Просмотреть файл

@ -41,7 +41,7 @@ mpicc -DHAVE_CONFIG_H -I. -I../../include -I../../../ompi-trunk/include -I../..
#define DUMP_DATA_AFTER_COMMIT 0x00000001 #define DUMP_DATA_AFTER_COMMIT 0x00000001
#define CHECK_PACK_UNPACK 0x00000002 #define CHECK_PACK_UNPACK 0x00000002
uint32_t remote_arch; uint32_t remote_arch = 0xffffffff;
static int test_upper( unsigned int length ) static int test_upper( unsigned int length )
{ {

Просмотреть файл

@ -41,7 +41,7 @@ gcc -DHAVE_CONFIG_H -I. -I../../include -I../.. -I../../include -I../../../ompi-
#define GET_TIME(TV) gettimeofday( &(TV), NULL ) #define GET_TIME(TV) gettimeofday( &(TV), NULL )
#define ELAPSED_TIME(TSTART, TEND) (((TEND).tv_sec - (TSTART).tv_sec) * 1000000 + ((TEND).tv_usec - (TSTART).tv_usec)) #define ELAPSED_TIME(TSTART, TEND) (((TEND).tv_sec - (TSTART).tv_sec) * 1000000 + ((TEND).tv_usec - (TSTART).tv_usec))
uint32_t remote_arch; uint32_t remote_arch = 0xffffffff;
/** /**
* Generic function computing the amount of memory to be allocated to fit * Generic function computing the amount of memory to be allocated to fit

Просмотреть файл

@ -26,17 +26,17 @@
#define N 331 #define N 331
uint32_t remote_arch; uint32_t remote_arch = 0xffffffff;
struct foo_t { struct foo_t {
int i[3]; int i[3];
double d[3]; double d[3];
} foo, *bar; } foo = {}, *bar = NULL;
struct pfoo_t { struct pfoo_t {
int i[2]; int i[2];
double d[2]; double d[2];
} pfoo, *pbar; } pfoo = {}, *pbar = NULL;
static void print_hex(void* ptr, int count, int space) static void print_hex(void* ptr, int count, int space)
{ {