IVOPT performance tuning patch. The main problem is a variant of maximal weight
[official-gcc.git] / gcc / testsuite / gcc.dg / short-compare-2.c
blob0026a88c1ff7f23e2dbb47e188d5ba137140b93b
1 /* PR rtl-optimization/19296 */
2 /* Origin: Falk Hueffner <falk@debian.org> */
3 /* Testcase by Andrew Pinski <pinskia@gcc.gnu.org> */
5 /* { dg-do run } */
6 /* { dg-options "-O" } */
7 /* { dg-options "-O -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
9 extern void abort();
11 void f(unsigned short ad)
13 if ((short) (ad - 0x4000) >= 0)
14 abort();
17 int main(void)
19 f(0xc000);
20 return 0;