OSDN Git Service

* alias.c (init_alias_analysis): Do not call
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Jul 2000 06:33:03 +0000 (06:33 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Jul 2000 06:33:03 +0000 (06:33 +0000)
        prologue_epilogue_contains until after reload has completed.

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

gcc/ChangeLog
gcc/alias.c

index 5649951..231ec25 100644 (file)
@@ -1,3 +1,8 @@
+Mon Jul  3 00:32:47 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * alias.c (init_alias_analysis): Do not call
+       prologue_epilogue_contains until after reload has completed.
+
 2000-07-02  Benjamin Chelf  <chelf@codesourcery.com>
 
        * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
index 55cc212..28f34c1 100644 (file)
@@ -1984,7 +1984,12 @@ init_alias_analysis ()
              rtx note, set;
 
 #if defined (HAVE_prologue) || defined (HAVE_epilogue)
-             if (prologue_epilogue_contains (insn))
+             /* The prologue/epilouge insns are not threaded onto the
+                insn chain until after reload has completed.  Thus,
+                there is no sense wasting time checking if INSN is in
+                the prologue/epilogue until after reload has completed.  */
+             if (reload_completed
+                 && prologue_epilogue_contains (insn))
                continue;
 #endif