Debian Codegraph @

gcc/testsuite/gcc.target/sparc/20230425-1.c

raw
1 /* PR target/105573 */
2 /* Reported by Sam James <[email protected]> */
3
4 /* { dg-do compile } */
5 /* { dg-options "-O3 -mvis3" } */
6
7 int *UINT_sign_args, UINT_sign_steps;
8 int *UINT_sign_ip1;
9
10 void UINT_sign() {
11 char *op1 = (char*) UINT_sign_args;
12 int os1 = UINT_sign_steps, i;
13 for (; i; i++, op1 += os1) {
14 unsigned in = *(unsigned *)UINT_sign_ip1;
15 int *out = (int*) op1;
16 *out = in > 0;
17 }
18 }