summaryrefslogtreecommitdiff
path: root/gcc/reload.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-23 21:30:20 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-23 21:30:20 +0000
commit731fe0f739ed41635fb7ddd02c2416ec38c4845b (patch)
treeec001f94b4dc1405030f08d6e85ac05f217a3e9a /gcc/reload.h
parent3de5b8d75db75b29294c6a4d3dd5995bd8d2164a (diff)
downloadgcc-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.h2
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. */