comparison gcc/testsuite/gcc.dg/pr57300.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* PR rtl-optimization/57300 */
2 /* { dg-do run } */
3 /* { dg-options "-O3" } */
4 /* { dg-additional-options "-msse2" { target sse2_runtime } } */
5
6 extern void abort (void);
7 int a, b, d[10];
8 long long c;
9
10 int
11 main ()
12 {
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;
21 }