Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/20081203-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR rtl-optimization/38281 */ /* Reporter: John Regehr <regehr@cs.utah.edu> */ /* Testcase by Jakub Jelinek <jakub@redhat.com> */ inline unsigned short foo (unsigned short x, unsigned short y) { if (y == 0) return x; return x / y; } unsigned short a, b, c; extern int baz (int, int); void bar (void) { int d = 0x3D75D162; a = foo (b > d, baz (0, 1)); for (c = 0; c; c = 1) ; }