7 long w
; int i
; char* p
;
8 assert(sizeof(long) == sizeof(void*));
9 #if defined(__powerpc64__)
10 fprintf (stderr
, "powerpc64\n"); /* Used to select correct .exp file. */
13 /* partial load, which --partial-loads-ok=yes should suppress */
14 p
= calloc( sizeof(long)-1, 1 );
19 /* partial but misaligned, ppc64[le] ok, but otherwise cannot be suppressed */
20 p
= calloc( sizeof(long), 1 );
27 /* partial but not word sized, cannot be suppressed */
28 p
= calloc( sizeof(short)-1, 1 );
30 w
+= (long)( *(short*)p
);
33 /* aligned, word sized, but completely invalid - cannot be suppressed */
34 p
= calloc( sizeof(long), 1 );
39 /* dump result in a way gcc can't understand */
40 for (i
= 0; i
< 64; i
++)