aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-07-20 03:07:00 +0000
committerRichard Stallman <rms@gnu.org>1992-07-20 03:07:00 +0000
commit18a53b787cd3fa67d7e9aaf695c975a632558c3e (patch)
tree0df3dbd32237d73b2be6707ddf24b4d64b0ac2ac
parentc9ebacb820cf7b64d225175c019326683f8c6d89 (diff)
downloadgcc-18a53b787cd3fa67d7e9aaf695c975a632558c3e.zip
gcc-18a53b787cd3fa67d7e9aaf695c975a632558c3e.tar.gz
gcc-18a53b787cd3fa67d7e9aaf695c975a632558c3e.tar.bz2
*** empty log message ***
From-SVN: r1638
-rw-r--r--gcc/reload.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/reload.c b/gcc/reload.c
index c10672b..3dfcb2d 100644
--- a/gcc/reload.c
+++ b/gcc/reload.c
@@ -667,6 +667,12 @@ push_reload (in, out, inloc, outloc, class,
if (in != 0)
class = PREFERRED_RELOAD_CLASS (in, class);
+ /* Output reloads may need analagous treatment, different in detail. */
+#ifdef PREFERRED_OUTPUT_RELOAD_CLASS
+ if (out != 0)
+ class = PREFERRED_OUTPUT_RELOAD_CLASS (out, class);
+#endif
+
/* Make sure we use a class that can handle the actual pseudo
inside any subreg. For example, on the 386, QImode regs
can appear within SImode subregs. Although GENERAL_REGS