Remove all uninitialized common symbols in the test directory.
Этот коммит содержится в:
родитель
7d870c8b9e
Коммит
98cca1b6b3
@ -42,26 +42,26 @@ int nreps = 100;
|
||||
int nthreads = 2;
|
||||
int enable_verbose = 0;
|
||||
|
||||
volatile int32_t vol32;
|
||||
int32_t val32;
|
||||
int32_t old32;
|
||||
int32_t new32;
|
||||
volatile int32_t vol32 = 0;
|
||||
int32_t val32 = 0;
|
||||
int32_t old32 = 0;
|
||||
int32_t new32 = 0;
|
||||
|
||||
#if OPAL_HAVE_ATOMIC_MATH_64
|
||||
volatile int64_t vol64;
|
||||
int64_t val64;
|
||||
int64_t old64;
|
||||
int64_t new64;
|
||||
volatile int64_t vol64 = 0;
|
||||
int64_t val64 = 0;
|
||||
int64_t old64 = 0;
|
||||
int64_t new64 = 0;
|
||||
#endif
|
||||
|
||||
volatile int volint;
|
||||
int valint;
|
||||
int oldint;
|
||||
int newint;
|
||||
volatile int volint = 0;
|
||||
int valint = 0;
|
||||
int oldint = 0;
|
||||
int newint = 0;
|
||||
|
||||
volatile void *volptr;
|
||||
void *oldptr;
|
||||
void *newptr;
|
||||
volatile void *volptr = NULL;
|
||||
void *oldptr = NULL;
|
||||
void *newptr = NULL;
|
||||
|
||||
|
||||
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 CHECK_PACK_UNPACK 0x00000002
|
||||
|
||||
uint32_t remote_arch;
|
||||
uint32_t remote_arch = 0xffffffff;
|
||||
|
||||
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 CHECK_PACK_UNPACK 0x00000002
|
||||
|
||||
uint32_t remote_arch;
|
||||
uint32_t remote_arch = 0xffffffff;
|
||||
|
||||
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 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
|
||||
|
@ -26,17 +26,17 @@
|
||||
|
||||
#define N 331
|
||||
|
||||
uint32_t remote_arch;
|
||||
uint32_t remote_arch = 0xffffffff;
|
||||
|
||||
struct foo_t {
|
||||
int i[3];
|
||||
double d[3];
|
||||
} foo, *bar;
|
||||
} foo = {}, *bar = NULL;
|
||||
|
||||
struct pfoo_t {
|
||||
int i[2];
|
||||
double d[2];
|
||||
} pfoo, *pbar;
|
||||
} pfoo = {}, *pbar = NULL;
|
||||
|
||||
static void print_hex(void* ptr, int count, int space)
|
||||
{
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user