Commit 94aaab7a by Richard Henderson Committed by Richard Henderson

reload.c (push_secondary_reload): Allow class == reload_class if we're using a…

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
parent 4381f7c2
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>
* reload.c: Fix formatting.
......
......@@ -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
other way.
Allow this when MODE is not reload_mode and assume that the generated
code handles this case (it does on the Alpha, which is the only place
this currently happens). */
Allow this when a reload_in/out pattern is being used. I.e. assume
that the generated code handles this case. */
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 ();
/* If we need a tertiary reload, see if we have one we can reuse or else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment