summaryrefslogtreecommitdiff
path: root/gcc/mode-switching.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-19 14:49:01 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-19 14:49:01 +0000
commit7bc8959abc04ca1c743d14d6ffa177686f7bbee9 (patch)
treed900abd1cef893b1054fb71a4046f6ef59c641f7 /gcc/mode-switching.c
parentd8364a0851339bd27a949204712d09a5967e93e2 (diff)
downloadgcc-7bc8959abc04ca1c743d14d6ffa177686f7bbee9.tar.gz
* doc/tm.texi.in (MODE_AFTER): Add entity as the first macro argument.
* doc/tm.texi: Regenerate. * mode-switching.c (optimize_mode_switching): Update MODE_AFTER call. * config/sh/sh.h (MODE_AFTER): Update. * config/epiphany/epiphany.h (MODE_AFTER): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189665 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mode-switching.c')
-rw-r--r--gcc/mode-switching.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c
index d6c7379df65..1984a694c89 100644
--- a/gcc/mode-switching.c
+++ b/gcc/mode-switching.c
@@ -533,7 +533,7 @@ optimize_mode_switching (void)
RESET_BIT (transp[bb->index], j);
}
#ifdef MODE_AFTER
- last_mode = MODE_AFTER (last_mode, insn);
+ last_mode = MODE_AFTER (e, last_mode, insn);
#endif
/* Update LIVE_NOW. */
for (link = REG_NOTES (insn); link; link = XEXP (link, 1))