Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr81588.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR tree-optimization/81588 */ |
2 /* { dg-do run } */ | |
3 /* { dg-options "-O2" } */ | |
4 | |
5 long long int a = 5011877430933453486LL, c = 1; | |
6 unsigned short b = 24847; | |
7 | |
8 #include "tree-ssa/pr81588.c" | |
9 | |
10 int | |
11 main () | |
12 { | |
13 foo (); | |
14 if (c != 0) | |
15 __builtin_abort (); | |
16 a = 24846; | |
17 c = 1; | |
18 foo (); | |
19 if (c != 1) | |
20 __builtin_abort (); | |
21 a = -5; | |
22 foo (); | |
23 if (c != 0) | |
24 __builtin_abort (); | |
25 return 0; | |
26 } |