diff options
author | Jeffrey A Law <law@cygnus.com> | 2000-07-03 06:33:03 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-07-03 00:33:03 -0600 |
commit | 657959caa17ae0fd939b68973d78f9a7f274a81f (patch) | |
tree | 6c228cc33eac3c6fe210d1a4687302db389474f0 /gcc | |
parent | 4cf88f570ac6363d5f9bfb1591bb37319410e2c3 (diff) | |
download | gcc-657959caa17ae0fd939b68973d78f9a7f274a81f.zip gcc-657959caa17ae0fd939b68973d78f9a7f274a81f.tar.gz gcc-657959caa17ae0fd939b68973d78f9a7f274a81f.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/alias.c | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5649951..231ec25 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/alias.c b/gcc/alias.c index 55cc212..28f34c1 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -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 |