comparison gcc/testsuite/gcc.dg/pr38932.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 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 /* This variable needed only to exercise FRE instead of CCP. */
5 unsigned char g;
6
7 extern void abort();
8
9 void f (long long int p)
10 {
11 g = 255;
12 if (p >= (-9223372036854775807LL - 1) - (signed char) g)
13 p = 1;
14
15 if (p)
16 abort ();
17 }
18
19