2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20020715-1.c
blob5294133f37b088cdc8fb8ba3d51784ffc0a77d2d
1 /* PR optimization/7153 */
2 /* Verify that GCC doesn't promote a register when its
3 lifetime is not limited to one basic block. */
5 void f(char);
6 void g(void);
8 void scale(void)
10 int width;
11 char bytes;
12 char *src;
14 if (width)
16 bytes = *src;
17 g();
18 width *= bytes;
21 f(bytes);