OSDN Git Service

* recog.c (split_all_insns): Run cleanup_subreg_operands
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Oct 2000 21:43:29 +0000 (21:43 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Oct 2000 21:43:29 +0000 (21:43 +0000)
        after reload.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37110 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/recog.c

index 9492180..5c45cdb 100644 (file)
@@ -2757,6 +2757,19 @@ split_all_insns (upd_life)
                      bb->end = last;
                      break;
                    }
+
+                 /* ??? Coddle to md files that generate subregs in post-
+                    reload splitters instead of computing the proper 
+                    hard register.  */
+                 if (reload_completed)
+                   while (1)
+                     {
+                       if (INSN_P (first))
+                         cleanup_subreg_operands (first);
+                       if (first == last)
+                         break;
+                       first = NEXT_INSN (first);
+                     }
                }
            }