Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr97979.c
blob44aaff2ab5aa2cb6cf8b188ae8c50cc061f874fe
1 /* PR tree-optimization/97979 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fno-tree-ccp" } */
5 short a = 0;
6 int b = 0;
8 void
9 foo (void)
11 unsigned short d = b;
12 a = d >> -2U; /* { dg-warning "right shift count >= width of type" } */