summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-09-19 08:29:17 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-09-25 14:26:04 -0700
commit90032bc13bdfa813ab92b4860360865e67488774 (patch)
tree6084156f610221a4783df6b7597d0b8ef768b95c
parent06edde95ae592290f493cc5b3043d4950d177767 (diff)
downloadgcc-90032bc13bdfa813ab92b4860360865e67488774.tar.gz
Pass VOIDmode to gen_rtx_SET on GCC 5 branchhjl/interrupt/void/gcc-5-branch
When backporting __builtin_interrupt_data to GCC 5, we need to pass VOIDmode to gen_rtx_SET. * config/i386/i386.c (ix86_expand_epilogue): Pass VOIDmode to gen_rtx_SET.
-rw-r--r--gcc/config/i386/i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 9567fb66b81..29a98cfcae8 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -12671,7 +12671,7 @@ ix86_expand_epilogue (int style)
{
rtx r = plus_constant (Pmode, stack_pointer_rtx,
UNITS_PER_WORD);
- emit_insn (gen_rtx_SET (stack_pointer_rtx, r));
+ emit_insn (gen_rtx_SET (VOIDmode, stack_pointer_rtx, r));
}
rtx pat;