From 083efe3148da187bdb2ecc5b59a83218fe6d3261 Mon Sep 17 00:00:00 2001 From: kkojima Date: Wed, 3 Nov 2010 22:03:30 +0000 Subject: [PATCH] * config/sh/sh.c (sh_expand_prologue): Remove unnecessary comment. Pass true to the last argument of output_stack_adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166278 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 87d9bc42482..f6ea181f4d5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-11-03 Kaz Kojima + + * config/sh/sh.c (sh_expand_prologue): Remove unnecessary + comment. Pass true to the last argument of output_stack_adjust. + 2010-11-03 H.J. Lu PR target/46295 diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index a1eec59153e..efad46b12f1 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -6881,10 +6881,10 @@ sh_expand_prologue (void) && (NPARM_REGS(SImode) > crtl->args.info.arg_count[(int) SH_ARG_INT])) pretend_args = 0; - /* Dwarf2 module doesn't expect frame related insns here. */ + output_stack_adjust (-pretend_args - crtl->args.info.stack_regs * 8, - stack_pointer_rtx, 0, NULL, false); + stack_pointer_rtx, 0, NULL, true); stack_usage = pretend_args + crtl->args.info.stack_regs * 8; if (TARGET_SHCOMPACT && flag_pic && crtl->args.info.call_cookie) -- 2.11.4.GIT