2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr83985.c
blob51cfc49a193c5922ad935a0bab31dea8b28bdb43
1 /* PR rtl-optimization/83985 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* { dg-additional-options "-mcpu=e300c3 -mtune=e300c3" { target { powerpc*-*-* && ilp32 } } } */
6 long long int v;
8 void
9 foo (int x)
11 if (x == 0)
12 return;
14 while (v < 2)
16 signed char *a;
17 v /= x;
18 a = v == 0 ? (signed char *) &x : (signed char *) &v;
19 ++*a;
20 ++v;
23 while (1)