Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / arc / sub_n-combine.c
blob4e227e41fb962d21a1508b6475753174b7afcb89
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-rtl-combine" } */
4 int a;
6 double b1() {
7 int c = a << 1;
8 return 1 - c;
11 double b2() {
12 int c = a << 2;
13 return 1 - c;
16 double b3() {
17 int c = a << 3;
18 return 1 - c;
21 /* { dg-final { scan-rtl-dump-times "\\*sub_n" 3 "combine" } } */