1 /* PR tree-optimization/64322 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-vrp1" } */
5 extern void link_error ();
6 extern void required_check ();
11 x
>>= sizeof (long long int) * __CHAR_BIT__
- 1;
12 if (x
!= 0 && x
!= -1)
17 unsigned long long int
18 bar (unsigned long long int x
)
20 x
>>= sizeof (long long int) * __CHAR_BIT__
- 1;
29 x
= (x
>> sizeof (long long int) * __CHAR_BIT__
- 1) << 1;
30 x
= x
/ 0x100000000LL
;
36 unsigned long long int
37 range (unsigned long long int x
, int y
)
40 x
>>= sizeof (long long int) * __CHAR_BIT__
- 1 - y
;
48 /* { dg-final { scan-tree-dump-not "link_error" "vrp1" } } */
49 /* { dg-final { scan-tree-dump "required_check" "vrp1" } } */