PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr33142.c
blob7bfc5b584dbd34057727c951f687f3126b513e82
1 int abs(int j);
2 extern void abort(void);
4 __attribute__((noinline)) int lisp_atan2(long dy, long dx) {
5 if (dx <= 0)
6 if (dy > 0)
7 return abs(dx) <= abs(dy);
8 return 0;
11 int main() {
12 volatile long dy = 63, dx = -77;
13 if (lisp_atan2(dy, dx))
14 abort();
15 return 0;