2017-09-26 Thomas Koenig <tkoenig@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr57300.c
blob13a272de59fe32ce2e8f8ee6b275468e986b4529
1 /* PR rtl-optimization/57300 */
2 /* { dg-do run } */
3 /* { dg-options "-O3" } */
4 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
6 extern void abort (void);
7 int a, b, d[10];
8 long long c;
10 int
11 main ()
13 int e;
14 for (e = 0; e < 10; e++)
15 d[e] = 1;
16 if (d[0])
17 c = a = (b == 0 || 1 % b);
18 if (a != 1)
19 abort ();
20 return 0;