blob: 5294133f37b088cdc8fb8ba3d51784ffc0a77d2d [file] [log] [blame]
/* 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);
}