Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / bic-bitmask-15.c
blob8bdf1ea4eb2e5117c6d84b0d6cdf95798c4b8e2c
1 /* { dg-do run } */
2 /* { dg-options "-O1 -save-temps -fdump-tree-dce" } */
4 #include <stdint.h>
6 __attribute__((noinline, noipa))
7 void fun1(uint32_t *x, int n)
9 for (int i = 0; i < (n & -16); i++)
10 x[i] = (x[i]&(~255)) >= 0;
13 __attribute__((noinline, noipa, optimize("O0")))
14 void fun2(uint32_t *x, int n)
16 for (int i = 0; i < (n & -16); i++)
17 x[i] = (x[i]&(~255)) >= 0;
20 #include "bic-bitmask.h"
22 /* { dg-final { scan-tree-dump-times {=\s* 1} 1 dce7 { target vect_int } } } */
23 /* { dg-final { scan-tree-dump-not {&\s* 4294967040} dce7 { target vect_int } } } */