diff options
author | jiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-10 04:22:44 +0000 |
---|---|---|
committer | jiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-10 04:22:44 +0000 |
commit | de963f4087e1c6afb8a22569472ffe053cd9efac (patch) | |
tree | 0058c300af88ff2b0bfc733ccc2176a0b63debe1 /gcc/web.c | |
parent | 7ffc0596cf37a74abf0b136957540b987d8f5cd8 (diff) | |
download | gcc-de963f4087e1c6afb8a22569472ffe053cd9efac.tar.gz |
PR testsuite/47622
Revert
2011-02-05 Jie Zhang <jie@codesourcery.com>
PR debug/42631
* web.c (entry_register): Don't clobber the number of the
first uninitialized reference in used[].
testsuite/
PR testsuite/47622
Revert
2011-02-05 Jie Zhang <jie@codesourcery.com>
PR debug/42631
* gcc.dg/pr42631.c: Update test.
* gcc.dg/pr42631-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169997 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/web.c')
-rw-r--r-- | gcc/web.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/web.c b/gcc/web.c index 7014aa55dc7..9b849249b0d 100644 --- a/gcc/web.c +++ b/gcc/web.c @@ -260,11 +260,7 @@ entry_register (struct web_entry *entry, df_ref ref, unsigned int *used) and there won't be any use for the other values when we get to this point. */ if (used[REGNO (reg)] != 1) - { - newreg = reg; - if (!used[REGNO (reg)]) - used[REGNO (reg)] = 1; - } + newreg = reg, used[REGNO (reg)] = 1; else { newreg = gen_reg_rtx (GET_MODE (reg)); |