diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-23 21:30:20 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-23 21:30:20 +0000 |
commit | 731fe0f739ed41635fb7ddd02c2416ec38c4845b (patch) | |
tree | ec001f94b4dc1405030f08d6e85ac05f217a3e9a /gcc/reload.h | |
parent | 3de5b8d75db75b29294c6a4d3dd5995bd8d2164a (diff) | |
download | gcc-731fe0f739ed41635fb7ddd02c2416ec38c4845b.tar.gz |
PR middle-end/48770
* reload.h (reload): Change to return a bool.
* ira.c (ira): If requested by reload, run a fast DCE pass after
reload has completed. Fix comment typo.
* reload1.c (need_dce): New file scoped static.
(reload): Set reload_completed here. Return whether or not a DCE
pass after reload is needed.
(delete_dead_insn): Set need_dce as needed.
PR middle-end/48770
* gcc.dg/pr48770.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175353 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload.h')
-rw-r--r-- | gcc/reload.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload.h b/gcc/reload.h index c9df112b2d0..ad0cfcd82d8 100644 --- a/gcc/reload.h +++ b/gcc/reload.h @@ -420,7 +420,7 @@ extern void reload_cse_regs (rtx); extern void init_reload (void); /* The reload pass itself. */ -extern int reload (rtx, int); +extern bool reload (rtx, int); /* Mark the slots in regs_ever_live for the hard regs used by pseudo-reg number REGNO. */ |