mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-23 04:09:14 +08:00
reload.c (get_secondary_mem): Fix updating of secondary_memlocs_elim_used.
* reload.c (get_secondary_mem): Fix updating of secondary_memlocs_elim_used. From-SVN: r76989
This commit is contained in:
parent
3234b52d0b
commit
98e5e08701
@ -1,3 +1,8 @@
|
||||
2004-01-30 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* reload.c (get_secondary_mem): Fix updating of
|
||||
secondary_memlocs_elim_used.
|
||||
|
||||
2004-01-30 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* varasm.c (struct rtx_const, struct pool_constant): Remove.
|
||||
|
@ -645,8 +645,8 @@ get_secondary_mem (rtx x ATTRIBUTE_UNUSED, enum machine_mode mode,
|
||||
}
|
||||
|
||||
secondary_memlocs_elim[(int) mode][opnum] = loc;
|
||||
if (secondary_memlocs_elim_used <= opnum)
|
||||
secondary_memlocs_elim_used = opnum + 1;
|
||||
if (secondary_memlocs_elim_used <= (int)mode)
|
||||
secondary_memlocs_elim_used = (int)mode + 1;
|
||||
return loc;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user