PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / short-compare-1.c
blobb5e01c1c588381a817298a753c09b3576a3445d4
1 /* PR rtl-optimization/19296 */
2 /* Origin: Falk Hueffner <falk@debian.org> */
4 /* { dg-do run } */
5 /* { dg-options "-O" } */
6 /* { dg-options "-O -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
8 extern void abort(void);
10 void f(unsigned short ad)
12 if (ad >= 0x4000 && ad < 0xc000)
13 abort();
16 int main(void)
18 f(0xff00);
19 return 0;