1 /* { dg-do run { target *-*-linux* *-*-gnu* } } */
2 /* { dg-options "-O" } */
9 static char *var2
= &var1
;
19 sigemptyset (&s
.sa_mask
);
20 s
.sa_handler
= do_exit
;
22 sigaction (SIGALRM
, &s
, NULL
);
24 /* The following loop is infinite, the division by zero should not
25 be hoisted out of it. */
26 for (; (var1
== 0 ? 0 : (100 / var1
)) == *var2
; );