Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr103451.c
blobdb724aa1233837eab862a26a2ee718cc07e83518
1 // { dg-do compile }
2 // { dg-options "-O2 -Wno-div-by-zero -fnon-call-exceptions -fno-delete-dead-exceptions -fdump-tree-optimized" }
4 int func_10_ptr_12;
6 void func_10(long li_8)
8 long *ptr_9 = &li_8;
9 li_8 &= *ptr_9 / 0 ?: li_8;
10 for (;;)
11 func_10_ptr_12 &= 4 ? *ptr_9 : 4;
14 void func_9_s_8(void)
16 func_10((long) func_9_s_8);
19 // { dg-final { scan-tree-dump " / 0" "optimized" } }