diff options
author | Jie Zhang <jie@codesourcery.com> | 2011-02-10 04:22:44 +0000 |
---|---|---|
committer | Jie Zhang <jiez@gcc.gnu.org> | 2011-02-10 04:22:44 +0000 |
commit | 06c969bd2687012065ba4555e947b6124358f8fe (patch) | |
tree | 0058c300af88ff2b0bfc733ccc2176a0b63debe1 /gcc/web.c | |
parent | 604e39b1094b333cf303ca71e6a16fb0229195c7 (diff) | |
download | gcc-06c969bd2687012065ba4555e947b6124358f8fe.zip gcc-06c969bd2687012065ba4555e947b6124358f8fe.tar.gz gcc-06c969bd2687012065ba4555e947b6124358f8fe.tar.bz2 |
re PR testsuite/47622 (FAIL: gcc.dg/pr42631.c scan-rtl-dump-not web "Web oldreg")
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.
From-SVN: r169997
Diffstat (limited to 'gcc/web.c')
-rw-r--r-- | gcc/web.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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)); |