OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.c-torture/compile/20021120-1.c: New test.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20020715-1.c
1
/* PR optimization/7153 */
2
/* Verify that GCC doesn't promote a register when its
3
lifetime is not limited to one basic block. */
4
5
void f(char);
6
void g(void);
7
8
void scale(void)
9
{
10
int width;
11
char bytes;
12
char *src;
13
14
if (width)
15
{
16
bytes = *src;
17
g();
18
width *= bytes;
19
}
20
21
f(bytes);
22
}