* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git] / gcc / testsuite / c-c++-common / fold-masked-cmp-3.c
blob5531c359b813abd3edf83ab33e20f267c08bde51
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-fdump-tree-original" } */
4 void foo (int *p, int x)
6 if ((x & 0xff) <= 7)
7 *p = 0;
10 void bar (int *p, int x)
12 if ((x & 0xff) < 8)
13 *p = 0;
16 /* { dg-final { scan-tree-dump-times "(x & .*) == 0" 2 "original" } } */