alias.c (init_alias_analysis): Do not call prologue_epilogue_contains until after reload has completed.

* alias.c (init_alias_analysis): Do not call
        prologue_epilogue_contains until after reload has completed.

From-SVN: r34838
This commit is contained in:
Jeffrey A Law 2000-07-03 06:33:03 +00:00 committed by Jeff Law
parent 4cf88f570a
commit 657959caa1
2 changed files with 11 additions and 1 deletions

View 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.

View 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