Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/20020715-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* PR optimization/7153 */ /* Verify that GCC doesn't promote a register when its lifetime is not limited to one basic block. */ void f(char); void g(void); void scale(void) { int width; char bytes; char *src; if (width) { bytes = *src; g(); width *= bytes; } f(bytes); }