2 /* With -flto this degenerates to constant folding which doesn't work. */
3 /* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */
4 /* { dg-additional-options "-ftrapv" } */
5 /* { dg-require-effective-target trapping } */
6 /* { dg-require-fork unused } */
10 #include <sys/types.h>
13 /* Verify SImode operations properly trap. PR middle-end/68046 */
19 pid_t child
= fork ();
23 volatile int x
= i
+ 1 < i
;
28 if (wait (&status
) == child