Let tree_single_nonzero_warnv_p use range information
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70292.c
blob458cccde8348e217dba6a04680292d672f73f0ea
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O1 -fno-inline -fno-dce -fschedule-insns -fselective-scheduling -fno-tree-dce" } */
4 void bar() {}
6 int t106_1mul(unsigned int x, unsigned int y) {
7 int r;
8 if (__builtin_mul_overflow(x, y, &r)) {
9 bar();
11 return r;