Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr70292.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 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" } */ | |
3 | |
4 void bar() {} | |
5 | |
6 int t106_1mul(unsigned int x, unsigned int y) { | |
7 int r; | |
8 if (__builtin_mul_overflow(x, y, &r)) { | |
9 bar(); | |
10 } | |
11 return r; | |
12 } |