1 /* With -fnon-call-exceptions 0 / 0 should not be eliminated. The .x
2 file sets the option. */
6 #elif defined (__powerpc__) || defined (__PPC__) || defined (__ppc__) || defined (__POWERPC__) || defined (__ppc)
7 /* On PPC division by zero does not trap. */
9 #elif defined (__SPU__)
10 /* On SPU division by zero does not trap. */
12 #elif defined (__sh__)
13 /* On SH division by zero does not trap. */
24 sigfpe (int signum
__attribute__ ((unused
)))
31 /* When optimizing, the compiler is smart enough to constant fold the
32 static unset variables i and j to produce 0 / 0, but it can't
33 eliminate the assignment to the global k. */
42 signal (SIGFPE
, sigfpe
);