testsuite: Skip analyzer tests on AIX.
[official-gcc.git] / gcc / testsuite / c-c++-common / pr69764.c
blob146f25858507641be1669b8e446c72d7ca9e685b
1 /* PR rtl-optimization/69764 */
2 /* { dg-do compile { target int32plus } } */
4 unsigned char
5 fn1 (unsigned char a)
7 return a >> ~6; /* { dg-warning "12:right shift count is negative" } */
10 unsigned short
11 fn2 (unsigned short a)
13 return a >> ~6; /* { dg-warning "12:right shift count is negative" } */
16 unsigned int
17 fn3 (unsigned int a)
19 return a >> ~6; /* { dg-warning "12:right shift count is negative" } */
22 unsigned char
23 fn4 (unsigned char a)
25 return a >> 0xff03; /* { dg-warning "12:right shift count >= width of type" } */
28 unsigned short
29 fn5 (unsigned short a)
31 return a >> 0xff03; /* { dg-warning "12:right shift count >= width of type" } */
34 unsigned int
35 fn6 (unsigned int a)
37 return a >> 0xff03; /* { dg-warning "12:right shift count >= width of type" } */