diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-12-13 11:33:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:06:06 -0700 |
| commit | b54b3264cc47cc8d8cae91787e8c3c85d3eb7abe (patch) | |
| tree | eda37624762bffa657284a29d3628b3321f83084 /example.c | |
| parent | 8644b59fc616e569b7b25c886af9250a9b0a8b75 (diff) | |
| download | sparse-dev-b54b3264cc47cc8d8cae91787e8c3c85d3eb7abe.tar.gz | |
Duh. We marked the wrong register REG_FIXED when we wrote out
the outgoing pseudos.
This caused us to then possibly double-allocate that register
later for another pseudo..
Diffstat (limited to 'example.c')
| -rw-r--r-- | example.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1256,7 +1256,7 @@ static void write_reg_to_storage(struct bb_state *state, struct hardreg *reg, ps output_insn(state, "movl %s,%s", reg->name, out->name); storage->type = REG_REG; storage->regno = i; - reg->busy = REG_FIXED; + out->busy = REG_FIXED; return; } |
