reload.c (push_secondary_reload): Allow class == reload_class if we're using a reload_in/out pattern.

* reload.c (push_secondary_reload): Allow class == reload_class
        if we're using a reload_in/out pattern.

From-SVN: r36052
This commit is contained in:
Richard Henderson 2000-08-29 14:18:01 -07:00 committed by Richard Henderson
parent 4381f7c299
commit 94aaab7af9
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2000-08-29 Richard Henderson <rth@cygnus.com>
* reload.c (push_secondary_reload): Allow class == reload_class
if we're using a reload_in/out pattern.
2000-08-29 Kazu Hirata <kazu@hxi.com> 2000-08-29 Kazu Hirata <kazu@hxi.com>
* reload.c: Fix formatting. * reload.c: Fix formatting.

View File

@ -411,11 +411,11 @@ push_secondary_reload (in_p, x, opnum, optional, reload_class, reload_mode,
can not use secondary reloads, you must work around the problem some can not use secondary reloads, you must work around the problem some
other way. other way.
Allow this when MODE is not reload_mode and assume that the generated Allow this when a reload_in/out pattern is being used. I.e. assume
code handles this case (it does on the Alpha, which is the only place that the generated code handles this case. */
this currently happens). */
if (in_p && class == reload_class && mode == reload_mode) if (in_p && class == reload_class && icode == CODE_FOR_nothing
&& t_icode == CODE_FOR_nothing)
abort (); abort ();
/* If we need a tertiary reload, see if we have one we can reuse or else /* If we need a tertiary reload, see if we have one we can reuse or else