=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for chipmunk-1.4nb2 --- control.o --- --- fileops.o --- --- memops.o --- --- io_ops.o --- --- strerror.o --- --- memtest.o --- --- tests.o --- --- comm960.o --- --- control.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c control.c -o control.o --- memops.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c memops.c -o memops.o --- fileops.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c fileops.c -o fileops.o --- strerror.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c strerror.c -o strerror.o --- io_ops.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c io_ops.c -o io_ops.o --- memtest.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c memtest.c -o memtest.o --- comm960.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c comm960.c -o comm960.o --- tests.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c tests.c -o tests.o --- strerror.o --- --- move.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c move.c -o move.o --- io_ops.o --- In file included from io_ops.c:10: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ --- comm960.o --- In file included from comm960.c:14: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ --- memtest.o --- memtest.c:12:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 12 | #endif STANDALONE | ^~~~~~~~~~ --- io_ops.o --- In file included from io_ops.c:8: io_ops.c: In function 'do_ioperm': config.h:126:29: warning: implicit declaration of function 'x86_64_iopl' [-Wimplicit-function-declaration] 126 | # define my_ioperm(x,y,z) x86_64_iopl(1) | ^~~~~~~~~~~ io_ops.c:76:10: note: in expansion of macro 'my_ioperm' 76 | return my_ioperm (startport,numports,1); | ^~~~~~~~~ io_ops.c:72:18: warning: variable 'numports' set but not used [-Wunused-but-set-variable] 72 | unsigned short numports; | ^~~~~~~~ io_ops.c:71:18: warning: variable 'startport' set but not used [-Wunused-but-set-variable] 71 | unsigned short startport; | ^~~~~~~~~ --- memtest.o --- memtest.c:18:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 18 | #endif USE_UNISTD | ^~~~~~~~~~ --- control.o --- control.c:17:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 17 | #endif USE_SIGNALS | ^~~~~~~~~~~ In file included from control.c:19: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ --- memtest.o --- memtest.c:23:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 23 | #endif STANDALONE | ^~~~~~~~~~ memtest.c:125:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 125 | #endif USE_USLEEP | ^~~~~~~~~~ memtest.c:222:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 222 | #endif USE_LONG_LONG | ^~~~~~~~~~~~~ memtest.c:288:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 288 | #endif STANDALONE | ^~~~~~~~~~ memtest.c: In function 'memtest': memtest.c:369:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 369 | #endif INCLUDE_RND | ^~~~~~~~~~~ memtest.c:372:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 372 | #endif INCLUDE_RND1 | ^~~~~~~~~~~~ memtest.c:408:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 408 | #endif INCLUDE_RND2 | ^~~~~~~~~~~~ memtest.c:411:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 411 | #endif INCLUDE_CNT | ^~~~~~~~~~~ memtest.c:434:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 434 | #endif INCLUDE_RND | ^~~~~~~~~~~ memtest.c:437:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 437 | #endif INCLUDE_CNT | ^~~~~~~~~~~ memtest.c:462:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 462 | # endif USE_LONG_LONG | ^~~~~~~~~~~~~ memtest.c:476:11: warning: extra tokens at end of #endif directive [-Wendif-labels] 476 | # endif USE_LONG_LONG | ^~~~~~~~~~~~~ --- tests.o --- In file included from tests.c:14: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ --- memtest.o --- memtest.c:479:11: warning: extra tokens at end of #endif directive [-Wendif-labels] 479 | # endif INCLUDE_RND | ^~~~~~~~~~~ memtest.c:482:11: warning: extra tokens at end of #endif directive [-Wendif-labels] 482 | # endif INCLUDE_CNT | ^~~~~~~~~~~ memtest.c:502:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 502 | # endif INCLUDE_CNT | ^~~~~~~~~~~ --- fileops.o --- In file included from fileops.c:15: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ --- control.o --- control.c:25:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 25 | #endif USE_UNISTD | ^~~~~~~~~~ --- memtest.o --- memtest.c:535:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 535 | # endif STANDALONE | ^~~~~~~~~~ --- tests.o --- tests.c:163:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 163 | #endif DEBUG | ^~~~~ --- memtest.o --- memtest.c:540:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 540 | # endif INCLUDE_RND1 | ^~~~~~~~~~~~ --- tests.o --- tests.c: In function 'setfaults': tests.c:243:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 243 | #endif DEBUG | ^~~~~ --- memtest.o --- memtest.c:547:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 547 | # endif INCLUDE_RND2 | ^~~~~~~~~~~~ --- tests.o --- tests.c: In function 'tver': tests.c:254:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 254 | # endif DEBUG | ^~~~~ --- memtest.o --- memtest.c:581:17: warning: extra tokens at end of #endif directive [-Wendif-labels] 581 | # endif USE_LONG_LONG | ^~~~~~~~~~~~~ --- tests.o --- In file included from tests.c:16: tests.c: In function 'crashtest': tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:288:10: note: in expansion of macro 'R' 288 | (void) R (target); | ^ tests.c:291:14: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 291 | for (i = strlen ("OK : Crashtest passed."); i < 80; i++) | ^~~~~~ tests.c:17:1: note: include '' or provide a declaration of 'strlen' 16 | #include "tests.h" +++ |+#include 17 | tests.c:291:14: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 291 | for (i = strlen ("OK : Crashtest passed."); i < 80; i++) | ^~~~~~ tests.c:291:14: note: include '' or provide a declaration of 'strlen' --- fileops.o --- fileops.c: In function 'load': fileops.c:26:55: warning: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 26 | printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); | ^~~~~~~~ | perror --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- fileops.o --- fileops.c:26:40: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 26 | printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); | ~^ ~~~~~~~~~~~~~~~ | | | | char * int | %d fileops.c:32:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 32 | s = fread ((void *)a,1,100000000,f); | ^ --- tests.o --- tests.c: In function 'robust_read': tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:37:19: note: in expansion of macro 'AB' 37 | # define RB(p) AB(p) | ^~ tests.c:335:12: note: in expansion of macro 'RB' 335 | dr = RB(a_ref); | ^~ --- fileops.o --- fileops.c: In function 'save': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- fileops.o --- fileops.c:55:38: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 55 | printf ("Cannot open file `%s': %s.\n",argv[1], strerror(errno)); | ~^ ~~~~~~~~~~~~~~~ | | | | char * int | %d --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:35:19: note: in expansion of macro 'AS' 35 | # define RS(p) AS(p) | ^~ tests.c:338:12: note: in expansion of macro 'RS' 338 | dr = RS(a_ref); | ^~ --- fileops.o --- fileops.c:58:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 58 | n = fwrite ((void *)a,1,s,f); | ^ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:341:12: note: in expansion of macro 'R' 341 | dr = R (a_ref); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:31:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 31 | #endif USE_READLINE | ^~~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:81:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 81 | #endif USE_CHECK | ^~~~~~~~~ --- tests.o --- tests.c: In function 'ghost_test': --- control.o --- control.c:93:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 93 | #endif USE_CBREAK | ^~~~~~~~~~ --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:36:19: note: in expansion of macro 'AB' 36 | # define WB(p,v) AB(p) = (UINT8 )v | ^~ tests.c:490:11: note: in expansion of macro 'WB' 490 | WB(a_ar, de); | ^~ --- control.o --- control.c:117:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 117 | #endif USE_BOGUS_USLEEP | ^~~~~~~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:34:19: note: in expansion of macro 'AS' 34 | # define WS(p,v) AS(p) = (UINT16)v | ^~ tests.c:493:11: note: in expansion of macro 'WS' 493 | WS(a_ar, de); | ^~ tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:32:19: note: in expansion of macro 'A' 32 | # define W(p,v) A(p) = v | ^ tests.c:496:11: note: in expansion of macro 'W' 496 | W (a_ar, de); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.c:524:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 524 | if (VERBOSE >= 1) /* report */ | ^ --- control.o --- In file included from /usr/include/ctype.h:100, from control.c:9: control.c: In function 'tstenv': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:38:22: note: in expansion of macro 'W0_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:233:25: warning: array subscript has type 'char' [-Wchar-subscripts] 233 | if (isdigit (argv[i][0])) { | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.c: In function 'addrtest': tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:36:19: note: in expansion of macro 'AB' 36 | # define WB(p,v) AB(p) = (UINT8 )v | ^~ tests.c:646:9: note: in expansion of macro 'WB' 646 | WB(a_t, ~PATT); | ^~ tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:36:19: note: in expansion of macro 'AB' 36 | # define WB(p,v) AB(p) = (UINT8 )v | ^~ tests.c:647:9: note: in expansion of macro 'WB' 647 | WB(a_ref, PATT); | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c: In function 'pmt': control.c:314:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 314 | (void) *(volatile short *)(BASE + 0x10000); | ^ --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:37:19: note: in expansion of macro 'AB' 37 | # define RB(p) AB(p) | ^~ tests.c:648:14: note: in expansion of macro 'RB' 648 | dt = RB(a_t); | ^~ --- control.o --- control.c:315:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 315 | p = (short *) a; | ^ --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:37:19: note: in expansion of macro 'AB' 37 | # define RB(p) AB(p) | ^~ tests.c:649:14: note: in expansion of macro 'RB' 649 | dr = RB(a_ref); | ^~ --- control.o --- control.c:320:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 320 | (void) *(volatile short *)(BASE + 0x10000); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c: In function 'macdef': --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:34:19: note: in expansion of macro 'AS' 34 | # define WS(p,v) AS(p) = (UINT16)v | ^~ tests.c:652:9: note: in expansion of macro 'WS' 652 | WS(a_t, ~PATT); | ^~ --- control.o --- control.c:342:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 342 | #endif USE_READLINE | ^~~~~~~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:34:19: note: in expansion of macro 'AS' 34 | # define WS(p,v) AS(p) = (UINT16)v | ^~ tests.c:653:9: note: in expansion of macro 'WS' 653 | WS(a_ref, PATT); | ^~ tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:35:19: note: in expansion of macro 'AS' 35 | # define RS(p) AS(p) | ^~ tests.c:654:14: note: in expansion of macro 'RS' 654 | dt = RS(a_t); | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:367:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 367 | #endif USE_READLINE | ^~~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- comm960.o --- --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- rmove.o --- --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:44:22: note: in expansion of macro 'W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:35:19: note: in expansion of macro 'AS' 35 | # define RS(p) AS(p) | ^~ tests.c:655:14: note: in expansion of macro 'RS' 655 | dr = RS(a_ref); | ^~ --- rmove.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c rmove.c -o rmove.o --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:32:19: note: in expansion of macro 'A' 32 | # define W(p,v) A(p) = v | ^ tests.c:658:9: note: in expansion of macro 'W' 658 | W (a_t, ~PATT); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:32:19: note: in expansion of macro 'A' 32 | # define W(p,v) A(p) = v | ^ tests.c:659:9: note: in expansion of macro 'W' 659 | W (a_ref, PATT); | ^ tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:660:14: note: in expansion of macro 'R' 660 | dt = R (a_t); | ^ tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:661:14: note: in expansion of macro 'R' 661 | dr = R (a_ref); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c: In function 'set': control.c:644:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 644 | #endif USE_CHECK | ^~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.c:701:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 701 | if ((VERBOSE >= 2) && e) | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c: In function 'echo': --- tests.o --- tests.c: In function 'datatest': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:705:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 705 | if (VERBOSE >= 0) | ^ --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:36:19: note: in expansion of macro 'AB' 36 | # define WB(p,v) AB(p) = (UINT8 )v | ^~ tests.c:850:11: note: in expansion of macro 'WB' 850 | WB(a_t, tv); | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:89:37: note: in expansion of macro 'W1' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:34:19: note: in expansion of macro 'AS' 34 | # define WS(p,v) AS(p) = (UINT16)v | ^~ tests.c:853:11: note: in expansion of macro 'WS' 853 | WS(a_t, tv); | ^~ tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:32:19: note: in expansion of macro 'A' 32 | # define W(p,v) A(p) = v | ^ tests.c:856:11: note: in expansion of macro 'W' 856 | W (a_t, tv); | ^ --- control.o --- control.c: In function 'autoload': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:775:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 775 | #endif USE_ALLOCA | ^~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:782:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 782 | #endif USE_ALLOCA | ^~~~~~~~~~ --- tests.o --- tests.c: In function 'visit': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.c:1002:18: note: in expansion of macro 'AB' 1002 | (void) AB(a_t); | ^~ --- control.o --- control.c: In function 'evalexp': --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.c:1006:18: note: in expansion of macro 'AS' 1006 | (void) AS(a_t); | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:824:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 824 | #endif USE_CHECK | ^~~~~~~~~ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.c:1010:18: note: in expansion of macro 'A' 1010 | (void) A (a_t); | ^ --- control.o --- control.c:825:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 825 | else if (strcmp (op, "@" ) == 0) result =*(unsigned int *)(BASE+a); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ --- control.o --- control.c:826:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 826 | else if (strcmp (op, "@s") == 0) result =*(unsigned short *)(BASE+a); | ^ --- memtest.o --- memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:827:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 827 | else if (strcmp (op, "@b") == 0) result =*(unsigned char *)(BASE+a); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:52:22: note: in expansion of macro 'W0_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.c: In function 'read_test': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:37:19: note: in expansion of macro 'AB' 37 | # define RB(p) AB(p) | ^~ tests.c:1160:18: note: in expansion of macro 'RB' 1160 | dr = RB(a_t); | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:35:19: note: in expansion of macro 'AS' 35 | # define RS(p) AS(p) | ^~ tests.c:1163:18: note: in expansion of macro 'RS' 1163 | dr = RS(a_t); | ^~ tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:1166:18: note: in expansion of macro 'R' 1166 | dr = R (a_t); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.c: In function 'write_test': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c: In function 'do_endwhile': --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:36:19: note: in expansion of macro 'AB' 36 | # define WB(p,v) AB(p) = (UINT8 )v | ^~ tests.c:1338:13: note: in expansion of macro 'WB' 1338 | WB(a_t, d); | ^~ --- control.o --- control.c:1010:16: warning: variable 'line' set but not used [-Wunused-but-set-variable] 1010 | unsigned int line; | ^~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:34:19: note: in expansion of macro 'AS' 34 | # define WS(p,v) AS(p) = (UINT16)v | ^~ tests.c:1341:13: note: in expansion of macro 'WS' 1341 | WS(a_t, d); | ^~ --- control.o --- control.c: In function 'substvars': --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:32:19: note: in expansion of macro 'A' 32 | # define W(p,v) A(p) = v | ^ tests.c:1344:13: note: in expansion of macro 'W' 1344 | W (a_t, d); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:1053:27: warning: array subscript has type 'char' [-Wchar-subscripts] 1053 | if (isdigit (argv[i][1])) { | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.c: In function 'dlsatest': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:36:19: note: in expansion of macro 'AB' 36 | # define WB(p,v) AB(p) = (UINT8 )v | ^~ tests.c:1493:11: note: in expansion of macro 'WB' 1493 | WB(a_t,~0); dr1 = (UINT32)RB(a_t); | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- io_ops.o --- --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:37:19: note: in expansion of macro 'AB' 37 | # define RB(p) AB(p) | ^~ tests.c:1493:37: note: in expansion of macro 'RB' 1493 | WB(a_t,~0); dr1 = (UINT32)RB(a_t); | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- sbus.o --- --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:36:19: note: in expansion of macro 'AB' 36 | # define WB(p,v) AB(p) = (UINT8 )v | ^~ tests.c:1494:11: note: in expansion of macro 'WB' 1494 | WB(a_t, 0); dr0 = (UINT32)RB(a_t); | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:37:19: note: in expansion of macro 'AB' 37 | # define RB(p) AB(p) | ^~ tests.c:1494:37: note: in expansion of macro 'RB' 1494 | WB(a_t, 0); dr0 = (UINT32)RB(a_t); | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:34:19: note: in expansion of macro 'AS' 34 | # define WS(p,v) AS(p) = (UINT16)v | ^~ tests.c:1497:11: note: in expansion of macro 'WS' 1497 | WS(a_t,~0); dr1 = (UINT32)RS(a_t); | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:35:19: note: in expansion of macro 'AS' 35 | # define RS(p) AS(p) | ^~ tests.c:1497:37: note: in expansion of macro 'RS' 1497 | WS(a_t,~0); dr1 = (UINT32)RS(a_t); | ^~ --- control.o --- control.c: In function 'initialize_readline': --- sbus.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c sbus.c -o sbus.o --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:34:19: note: in expansion of macro 'AS' 34 | # define WS(p,v) AS(p) = (UINT16)v | ^~ tests.c:1498:11: note: in expansion of macro 'WS' 1498 | WS(a_t, 0); dr0 = (UINT32)RS(a_t); | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:1258:33: error: 'Function' undeclared (first use in this function) 1258 | rl_completion_entry_function=(Function *)dummy_filename_completion_function; | ^~~~~~~~ control.c:1258:33: note: each undeclared identifier is reported only once for each function it appears in --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:35:19: note: in expansion of macro 'AS' 35 | # define RS(p) AS(p) | ^~ tests.c:1498:37: note: in expansion of macro 'RS' 1498 | WS(a_t, 0); dr0 = (UINT32)RS(a_t); | ^~ --- control.o --- control.c:1258:43: error: expected expression before ')' token 1258 | rl_completion_entry_function=(Function *)dummy_filename_completion_function; | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:1259:49: error: expected expression before ')' token 1259 | rl_attempted_completion_function = (Function *)completion; | ^ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:32:19: note: in expansion of macro 'A' 32 | # define W(p,v) A(p) = v | ^ tests.c:1501:11: note: in expansion of macro 'W' 1501 | W (a_t,~0); dr1 = (UINT32)R (a_t); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c: In function 'completion': --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:1501:37: note: in expansion of macro 'R' 1501 | W (a_t,~0); dr1 = (UINT32)R (a_t); | ^ --- control.o --- control.c:1281:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1281 | matches = completion_matches (text, command_name_generator); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) In file included from control.c:29: /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:56:22: note: in expansion of macro 'W0_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:32:19: note: in expansion of macro 'A' 32 | # define W(p,v) A(p) = v | ^ tests.c:1502:11: note: in expansion of macro 'W' 1502 | W (a_t, 0); dr0 = (UINT32)R (a_t); | ^ --- control.o --- control.c:1284:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1284 | matches = completion_matches (text, variable_name_generator); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:1502:37: note: in expansion of macro 'R' 1502 | W (a_t, 0); dr0 = (UINT32)R (a_t); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:1291:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1291 | matches = completion_matches (text, variable_name_generator); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:1295:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1295 | matches = completion_matches (text, command_name_generator); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:1558:11: note: in expansion of macro 'R' 1558 | if (R(a_t) & dm) | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:1300:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1300 | matches = completion_matches (text, macro_name_generator); | ^~~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:1305:41: warning: passing argument 2 of 'completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 1305 | matches = completion_matches (text, file_name_generator); | ^~~~~~~~~~~~~~~~~~~ | | | char * (*)(char *, int) /usr/include/readline/readline.h:212:57: note: expected 'char * (*)(const char *, int)' but argument is of type 'char * (*)(char *, int)' 212 | char **completion_matches(/* const */ char *, rl_compentry_func_t *); | ^~~~~~~~~~~~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c: At top level: --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:1415:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1415 | #endif USE_READLINE | ^~~~~~~~~~~~ control.c: In function 'intsig': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:1425:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1425 | #endif SYSV_SIGNALS | ^~~~~~~~~~~~ control.c: In function 'bussig': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:1433:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1433 | #endif SYSV_SIGNALS | ^~~~~~~~~~~~ control.c: In function 'segvsig': control.c:1441:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1441 | #endif SYSV_SIGNALS | ^~~~~~~~~~~~ control.c: At top level: --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c:1445:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1445 | #endif USE_SIGNALS | ^~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.c: In function 'dlbftest': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c: In function 'eval_expression': --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:36:19: note: in expansion of macro 'AB' 36 | # define WB(p,v) AB(p) = (UINT8 )v | ^~ tests.c:1783:13: note: in expansion of macro 'WB' 1783 | WB(a_t,~tv); r1 = RB(a_t); /* walking zero */ | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ --- control.o --- control.c:1478:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1478 | #endif USE_CHECK | ^~~~~~~~~ --- memtest.o --- memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:37:19: note: in expansion of macro 'AB' 37 | # define RB(p) AB(p) | ^~ tests.c:1783:31: note: in expansion of macro 'RB' 1783 | WB(a_t,~tv); r1 = RB(a_t); /* walking zero */ | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- control.c: In function 'main': --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:36:19: note: in expansion of macro 'AB' 36 | # define WB(p,v) AB(p) = (UINT8 )v | ^~ tests.c:1784:13: note: in expansion of macro 'WB' 1784 | WB(a_t, tv); r0 = RB(a_t); /* walking one */ | ^~ --- control.o --- control.c:1525:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1525 | #endif USE_READLINE | ^~~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:37:19: note: in expansion of macro 'AB' 37 | # define RB(p) AB(p) | ^~ tests.c:1784:31: note: in expansion of macro 'RB' 1784 | WB(a_t, tv); r0 = RB(a_t); /* walking one */ | ^~ --- control.o --- control.c:1531:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1531 | #endif USE_SIGNALS | ^~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:34:19: note: in expansion of macro 'AS' 34 | # define WS(p,v) AS(p) = (UINT16)v | ^~ tests.c:1787:13: note: in expansion of macro 'WS' 1787 | WS(a_t,~tv); r1 = RS(a_t); /* walking zero */ | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:35:19: note: in expansion of macro 'AS' 35 | # define RS(p) AS(p) | ^~ tests.c:1787:31: note: in expansion of macro 'RS' 1787 | WS(a_t,~tv); r1 = RS(a_t); /* walking zero */ | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:34:19: note: in expansion of macro 'AS' 34 | # define WS(p,v) AS(p) = (UINT16)v | ^~ tests.c:1788:13: note: in expansion of macro 'WS' 1788 | WS(a_t, tv); r0 = RS(a_t); /* walking one */ | ^~ --- control.o --- control.c:1566:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1566 | #endif USE_SIGNALS | ^~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:35:19: note: in expansion of macro 'AS' 35 | # define RS(p) AS(p) | ^~ tests.c:1788:31: note: in expansion of macro 'RS' 1788 | WS(a_t, tv); r0 = RS(a_t); /* walking one */ | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:32:19: note: in expansion of macro 'A' 32 | # define W(p,v) A(p) = v | ^ tests.c:1791:13: note: in expansion of macro 'W' 1791 | W (a_t,~tv); r1 = R (a_t); /* walking zero */ | ^ --- control.o --- control.c:1587:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1587 | #endif USE_READLINE | ^~~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:1791:31: note: in expansion of macro 'R' 1791 | W (a_t,~tv); r1 = R (a_t); /* walking zero */ | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:32:19: note: in expansion of macro 'A' 32 | # define W(p,v) A(p) = v | ^ tests.c:1792:13: note: in expansion of macro 'W' 1792 | W (a_t, tv); r0 = R (a_t); /* walking one */ | ^ --- control.o --- control.c:1598:29: warning: array subscript has type 'char' [-Wchar-subscripts] 1598 | for (i = 0; isspace (cmd[i]); i++); | ^ --- memops.o --- In file included from memops.c:24: commands.h:24:11: warning: type defaults to 'int' in declaration of 'builtinfn' [-Wimplicit-int] 24 | typedef (*builtinfn) (); | ^~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:1792:31: note: in expansion of macro 'R' 1792 | W (a_t, tv); r0 = R (a_t); /* walking one */ | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:95:37: note: in expansion of macro 'W1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- memops.o --- memops.c: In function 'poke': memops.c:98:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 98 | *(int *)a = myatoi (argv[2]); | ^ memops.c: In function 'and': memops.c:108:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 108 | *(int *)a &= myatoi (argv[2]); | ^ memops.c: In function 'or': memops.c:118:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | *(int *)a |= myatoi (argv[2]); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- memops.o --- memops.c: In function 'xor': memops.c:128:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 128 | *(int *)a ^= myatoi (argv[2]); | ^ memops.c: In function 'pokes': memops.c:139:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 139 | *(unsigned short *)a = myatoi (argv[2]); | ^ memops.c: In function 'ands': memops.c:149:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 149 | *(unsigned short *)a &= myatoi (argv[2]); | ^ memops.c: In function 'ors': memops.c:159:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 159 | *(unsigned short *)a |= myatoi (argv[2]); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.c:1834:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1834 | if (VERBOSE >= 2) | ^ --- memops.o --- memops.c: In function 'xors': memops.c:169:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 169 | *(unsigned short *)a ^= myatoi (argv[2]); | ^ memops.c: In function 'pokeb': memops.c:179:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 179 | *(unsigned char *)a = myatoi (argv[2]); | ^ memops.c: In function 'andb': memops.c:189:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 189 | *(unsigned char *)a &= myatoi (argv[2]); | ^ memops.c: In function 'orb': --- fileops.o --- --- memops.o --- memops.c:199:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 199 | *(unsigned char *)a |= myatoi (argv[2]); | ^ memops.c: In function 'xorb': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- memops.o --- memops.c:209:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 209 | *(unsigned char *)a ^= myatoi (argv[2]); | ^ memops.c: In function 'fill': memops.c:220:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 220 | p = (int *) (BASE + myatoi (argv[1])); | ^ --- p555.o --- --- memops.o --- memops.c:235:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 235 | printf ("Filled upto %08x.\n", (int)p); | ^ memops.c: In function 'do_memcpy': memops.c:245:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 245 | p = (int *) (BASE + myatoi (argv[1])); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- memops.o --- memops.c:247:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 247 | q = (int *) (BASE + myatoi (argv[3])); | ^ memops.c:248:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 248 | memcpy (q, p, l); | ^~~~~~ memops.c:26:1: note: include '' or provide a declaration of 'memcpy' 25 | #include "chipmunk.h" +++ |+#include 26 | memops.c:248:3: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 248 | memcpy (q, p, l); | ^~~~~~ memops.c:248:3: note: include '' or provide a declaration of 'memcpy' memops.c:250:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 250 | printf ("copied %d bytes from %08x to %08x.\n", l, (int)p, (int)q); | ^ memops.c:250:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 250 | printf ("copied %d bytes from %08x to %08x.\n", l, (int)p, (int)q); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:96:37: note: in expansion of macro 'W0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.c:1885:22: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1885 | if (bf[i][x] * bf[x][j]) | ~~~~~~~~~^~~~~~~~~~ --- memops.o --- memops.c: In function 'domemmap': memops.c:271:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 271 | return (int)p; | ^ memops.c: In function 'domalloc': memops.c:282:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 282 | return (int)p; | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- memops.o --- memops.c: In function 'dofree': memops.c:289:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 289 | p = (void *)myatoi (argv[1]); | ^ memops.c:290:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 290 | if ((unsigned int)p < 4096) { | ^ memops.c:292:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 292 | printf ("ERR: %08x cannot be a pointer\n", (unsigned int) p); | ^ memops.c: In function 'dump': memops.c:306:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 306 | a = (unsigned char *) (BASE + myatoi (argv[1])); | ^ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:1900:10: note: in expansion of macro 'R' 1900 | if ((R(a_t) ^ tv) & dm) | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:582:20: note: in expansion of macro 'DO_TEST' 582 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- p555.o --- gcc -Wall -O2 -I/usr/include/readline -I/usr/include -I/usr/include/readline -I/usr/include -c p555.c -o p555.o --- memops.o --- memops.c:314:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 314 | printf ("%08x ", (unsigned int)a); | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.c: In function 'cal_crc': --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:19:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 19 | #define AB(p) *(volatile UINT8 *)((p) + BASE) | ^ tests.h:37:19: note: in expansion of macro 'AB' 37 | # define RB(p) AB(p) | ^~ tests.c:2067:15: note: in expansion of macro 'RB' 2067 | d = RB(a_t) & dm; | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:38:22: note: in expansion of macro 'W0_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:18:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 | #define AS(p) *(volatile UINT16 *)((p) + BASE) | ^ tests.h:35:19: note: in expansion of macro 'AS' 35 | # define RS(p) AS(p) | ^~ tests.c:2071:15: note: in expansion of macro 'RS' 2071 | d = RS(a_t) & dm; | ^~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ --- tests.o --- tests.h:17:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 17 | #define A(p) *(volatile UINT32 *)((p) + BASE) | ^ tests.h:33:19: note: in expansion of macro 'A' 33 | # define R(p) A(p) | ^ tests.c:2076:15: note: in expansion of macro 'R' 2076 | d = R (a_t) & dm; | ^ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:44:22: note: in expansion of macro 'W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:89:37: note: in expansion of macro 'W1' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ --- control.o --- *** [control.o] Error code 1 make: stopped making "chipmunk" in /pbulk/work/misc/chipmunk/work/chipmunk-1.4 --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ --- rmove.o --- --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:52:22: note: in expansion of macro 'W0_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:56:22: note: in expansion of macro 'W0_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ --- sbus.o --- --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ --- p555.o --- p555.c:92:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 92 | #endif INCLUDE_P555 | ^~~~~~~~~~~~ --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ --- move.o --- --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:95:37: note: in expansion of macro 'W1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:96:37: note: in expansion of macro 'W0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:585:20: note: in expansion of macro 'DO_TEST' 585 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ --- p555.o --- --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:38:22: note: in expansion of macro 'W0_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:44:22: note: in expansion of macro 'W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:89:37: note: in expansion of macro 'W1' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:52:22: note: in expansion of macro 'W0_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:56:22: note: in expansion of macro 'W0_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:153:70: note: in definition of macro 'CNT_DOWN' 153 | i++, cnt = (cnt - 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:95:37: note: in expansion of macro 'W1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:96:37: note: in expansion of macro 'W0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:151:75: note: in definition of macro 'CNT_UP' 151 | cnt = ((cnt | ~cmask)+ 1) & cmask, p = a_ref ^ cnt){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:588:20: note: in expansion of macro 'DO_TEST' 588 | case 8: DO_TEST (alg); break; | ^~~~~~~ memtest.c:597:13: warning: extra tokens at end of #endif directive [-Wendif-labels] 597 | # endif INCLUDE_CNT | ^~~~~~~~~~~ memtest.c:622:17: warning: extra tokens at end of #endif directive [-Wendif-labels] 622 | # endif USE_LONG_LONG | ^~~~~~~~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:38:22: note: in expansion of macro 'W0_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:44:22: note: in expansion of macro 'W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:89:37: note: in expansion of macro 'W1' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:52:22: note: in expansion of macro 'W0_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:56:22: note: in expansion of macro 'W0_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ --- memops.o --- --- memtest.o --- tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:95:37: note: in expansion of macro 'W1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:96:37: note: in expansion of macro 'W0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:623:20: note: in expansion of macro 'DO_TEST' 623 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:38:22: note: in expansion of macro 'W0_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:44:22: note: in expansion of macro 'W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:89:37: note: in expansion of macro 'W1' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:52:22: note: in expansion of macro 'W0_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:56:22: note: in expansion of macro 'W0_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:95:37: note: in expansion of macro 'W1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:96:37: note: in expansion of macro 'W0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:626:20: note: in expansion of macro 'DO_TEST' 626 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:38:22: note: in expansion of macro 'W0_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:44:22: note: in expansion of macro 'W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:89:37: note: in expansion of macro 'W1' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:52:22: note: in expansion of macro 'W0_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:56:22: note: in expansion of macro 'W0_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:143:51: note: in definition of macro 'SEQ_DOWN' 143 | i > 0; i--, p-= stride){s} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:95:37: note: in expansion of macro 'W1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:96:37: note: in expansion of macro 'W0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:141:51: note: in definition of macro 'SEQ_UP' 141 | i < n_loc; i++, p+= stride){s} | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:629:20: note: in expansion of macro 'DO_TEST' 629 | case 8: DO_TEST (alg); break; | ^~~~~~~ memtest.c:640:17: warning: extra tokens at end of #endif directive [-Wendif-labels] 640 | # endif INCLUDE_RND2 | ^~~~~~~~~~~~ memtest.c:645:17: warning: extra tokens at end of #endif directive [-Wendif-labels] 645 | # endif INCLUDE_RND1 | ^~~~~~~~~~~~ memtest.c:651:17: warning: extra tokens at end of #endif directive [-Wendif-labels] 651 | # endif USE_LONG_LONG | ^~~~~~~~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:38:22: note: in expansion of macro 'W0_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:44:22: note: in expansion of macro 'W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:89:37: note: in expansion of macro 'W1' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:52:22: note: in expansion of macro 'W0_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:56:22: note: in expansion of macro 'W0_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:95:37: note: in expansion of macro 'W1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:96:37: note: in expansion of macro 'W0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:652:20: note: in expansion of macro 'DO_TEST' 652 | case 32: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:38:22: note: in expansion of macro 'W0_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:44:22: note: in expansion of macro 'W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:89:37: note: in expansion of macro 'W1' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:52:22: note: in expansion of macro 'W0_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:56:22: note: in expansion of macro 'W0_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:95:37: note: in expansion of macro 'W1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:96:37: note: in expansion of macro 'W0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:655:20: note: in expansion of macro 'DO_TEST' 655 | case 16: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:35:22: note: in expansion of macro 'R0W1_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:35:31: note: in expansion of macro 'R1W0_UP' 35 | #define SMATA R0W1_UP; R1W0_UP | ^~~~~~~ memtest.c:205:34: note: in expansion of macro 'SMATA' 205 | case 0: SMATA; break;\ | ^~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:38:22: note: in expansion of macro 'W0_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:38:29: note: in expansion of macro 'R0W1_UP' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:38:38: note: in expansion of macro 'R1W0_DOWN' 38 | #define MATSPLUS W0_UP; R0W1_UP; R1W0_DOWN | ^~~~~~~~~ memtest.c:206:34: note: in expansion of macro 'MATSPLUS' 206 | case 1: MATSPLUS; break;\ | ^~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:44:22: note: in expansion of macro 'W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:88:33: note: in expansion of macro 'R0' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:88:22: note: in expansion of macro 'LOOP_UP' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:88:37: note: in expansion of macro 'W1' 88 | #define R0W1_UP LOOP_UP (R0; W1; ) | ^~ memtest.c:44:29: note: in expansion of macro 'R0W1_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:91:33: note: in expansion of macro 'R1' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:91:22: note: in expansion of macro 'LOOP_UP' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:91:37: note: in expansion of macro 'W0' 91 | #define R1W0_UP LOOP_UP (R1; W0; ) | ^~ memtest.c:44:38: note: in expansion of macro 'R1W0_UP' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:89:33: note: in expansion of macro 'R0' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:89:22: note: in expansion of macro 'LOOP_DOWN' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:89:37: note: in expansion of macro 'W1' 89 | #define R0W1_DOWN LOOP_DOWN (R0; W1; ) | ^~ memtest.c:44:47: note: in expansion of macro 'R0W1_DOWN' 44 | #define MARCHCMINUS W0_UP; R0W1_UP; R1W0_UP; R0W1_DOWN; \ | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:92:33: note: in expansion of macro 'R1' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:92:22: note: in expansion of macro 'LOOP_DOWN' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:92:37: note: in expansion of macro 'W0' 92 | #define R1W0_DOWN LOOP_DOWN (R1; W0; ) | ^~ memtest.c:45:22: note: in expansion of macro 'R1W0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:82:22: note: in expansion of macro 'LOOP_DOWN' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:82:33: note: in expansion of macro 'R0' 82 | #define R0_DOWN LOOP_DOWN (R0;) | ^~ memtest.c:45:33: note: in expansion of macro 'R0_DOWN' 45 | R1W0_DOWN; R0_DOWN | ^~~~~~~ memtest.c:207:34: note: in expansion of macro 'MARCHCMINUS' 207 | case 2: MARCHCMINUS; break;\ | ^~~~~~~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:52:22: note: in expansion of macro 'W0_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:52:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:52:46: note: in expansion of macro 'R1W0W1_UP' 52 | #define MARCHB W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:53:22: note: in expansion of macro 'R1W0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:53:37: note: in expansion of macro 'R0W1W0_DOWN' 53 | R1W0W1W0_DOWN; R0W1W0_DOWN | ^~~~~~~~~~~ memtest.c:208:34: note: in expansion of macro 'MARCHB' 208 | case 3: MARCHB; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:75:22: note: in expansion of macro 'LOOP_UP' 75 | #define W0_UP LOOP_UP (W0;) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:75:33: note: in expansion of macro 'W0' 75 | #define W0_UP LOOP_UP (W0;) | ^~ memtest.c:56:22: note: in expansion of macro 'W0_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:36: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:40: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:106:44: note: in expansion of macro 'R1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:106:48: note: in expansion of macro 'W0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:106:52: note: in expansion of macro 'R0' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:106:25: note: in expansion of macro 'LOOP_UP' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:106:56: note: in expansion of macro 'W1' 106 | #define R0W1R1W0R0W1_UP LOOP_UP (R0; W1; R1; W0; R0; W1; ) | ^~ memtest.c:56:29: note: in expansion of macro 'R0W1R1W0R0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:98:33: note: in expansion of macro 'R1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:98:37: note: in expansion of macro 'W0' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:98:22: note: in expansion of macro 'LOOP_UP' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:98:41: note: in expansion of macro 'W1' 98 | #define R1W0W1_UP LOOP_UP (R1; W0; W1; ) | ^~ memtest.c:56:46: note: in expansion of macro 'R1W0W1_UP' 56 | #define MARCHG W0_UP; R0W1R1W0R0W1_UP; R1W0W1_UP; \ | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:102:36: note: in expansion of macro 'R1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:40: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:102:44: note: in expansion of macro 'W1' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:102:25: note: in expansion of macro 'LOOP_DOWN' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:102:48: note: in expansion of macro 'W0' 102 | #define R1W0W1W0_DOWN LOOP_DOWN (R1; W0; W1; W0; ) | ^~ memtest.c:57:22: note: in expansion of macro 'R1W0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:99:33: note: in expansion of macro 'R0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:99:37: note: in expansion of macro 'W1' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:165:71: note: in definition of macro 'RND2DOWN' 165 | } while (pr >= n_loc); p = a_ref + pr * stride; s;} | ^ memtest.c:99:22: note: in expansion of macro 'LOOP_DOWN' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~~~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:99:41: note: in expansion of macro 'W0' 99 | #define R0W1W0_DOWN LOOP_DOWN (R0; W1; W0; ) | ^~ memtest.c:57:37: note: in expansion of macro 'R0W1W0_DOWN' 57 | R1W0W1W0_DOWN; R0W1W0_DOWN; DELAY; \ | ^~~~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:95:33: note: in expansion of macro 'R0' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:113:19: note: in expansion of macro 'AT' 113 | #define W1 AT(p) = one | ^~ memtest.c:95:37: note: in expansion of macro 'W1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:95:22: note: in expansion of macro 'LOOP_UP' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:95:41: note: in expansion of macro 'R1' 95 | #define R0W1R1_UP LOOP_UP (R0; W1; R1; ) | ^~ memtest.c:58:22: note: in expansion of macro 'R0W1R1_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:118:19: note: in expansion of macro 'RX' 118 | #define R1 RX(one ) | ^~ memtest.c:96:33: note: in expansion of macro 'R1' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:112:19: note: in expansion of macro 'AT' 112 | #define W0 AT(p) = zero | ^~ memtest.c:96:37: note: in expansion of macro 'W0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:119:35: note: in expansion of macro 'AT' 119 | #define RX(v) if (dm & ( (t = AT(p)) ^ v ) ) \ | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ tests.h:16:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 16 | #define AT(p) *(volatile TESTTYPE *)((p) + BASE) | ^ memtest.c:156:65: note: in definition of macro 'RND2UP' 156 | i < n_loc ; i++, p = a_ref + pr * stride){s;\ | ^ memtest.c:96:22: note: in expansion of macro 'LOOP_UP' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~~~~~~ memtest.c:120:45: note: in expansion of macro 'AT' 120 | if (handle_error (p, t, AT(p), v)) goto end_of_test; | ^~ memtest.c:117:19: note: in expansion of macro 'RX' 117 | #define R0 RX(zero) | ^~ memtest.c:96:41: note: in expansion of macro 'R0' 96 | #define R1W0R0_UP LOOP_UP (R1; W0; R0; ) | ^~ memtest.c:58:40: note: in expansion of macro 'R1W0R0_UP' 58 | R0W1R1_UP; DELAY; R1W0R0_UP | ^~~~~~~~~ memtest.c:209:34: note: in expansion of macro 'MARCHG' 209 | case 4: MARCHG; break;\ | ^~~~~~ memtest.c:658:20: note: in expansion of macro 'DO_TEST' 658 | case 8: DO_TEST (alg); break; | ^~~~~~~ memtest.c:663:13: warning: extra tokens at end of #endif directive [-Wendif-labels] 663 | # endif INCLUDE_RND | ^~~~~~~~~~~ memtest.c:670:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 670 | # endif INCLUDE_RND1 | ^~~~~~~~~~~~ memtest.c:702:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 702 | else | ^~~~ memtest.c:704:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 704 | printf (" %d", e_v[i] ); | ^~~~~~ memtest.c:738:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 738 | #endif USE_LONG_LONG | ^~~~~~~~~~~~~ memtest.c: At top level: memtest.c:745:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 745 | #endif USE_MEMTEST | ^~~~~~~~~~~ --- tests.o --- --- memtest.o --- make: 1 error make: stopped making "chipmunk" in /pbulk/work/misc/chipmunk/work/chipmunk-1.4 *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/misc/chipmunk *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/misc/chipmunk