This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARC] Refurbish emitting DWARF2 for epilogue.
- From: Joern Wolfgang Rennecke <gnu at amylaar dot uk>
- To: Claudiu Zissulescu <Claudiu dot Zissulescu at synopsys dot com>, gcc-patches at gcc dot gnu dot org
- Cc: Francois dot Bedard at synopsys dot com, jeremy dot bennett at embecosm dot com
- Date: Thu, 03 Dec 2015 21:59:45 +0000
- Subject: Re: [PATCH][ARC] Refurbish emitting DWARF2 for epilogue.
- Authentication-results: sourceware.org; auth=none
- References: <1448632380-7353-1-git-send-email-claziss at synopsys dot com>
On 27/11/15 13:53, Claudiu Zissulescu wrote:
@@ -2502,11 +2540,18 @@ arc_expand_epilogue (int sibcall_p)
/* Restore any saved registers. */
if (frame_pointer_needed)
{
- rtx addr = gen_rtx_POST_INC (Pmode, stack_pointer_rtx);
+ insn = emit_insn (gen_blockage ());
Is this actually part of the patch to fix cfi generation?
It looks to me like it is working around an alias.c issue - namely, that
alias.c does
not consider stack and frame pointer based addresses to alias.
https://gcc.gnu.org/ml/gcc/2011-07/msg00461.html
https://github.com/adapteva/epiphany-gcc/commit/6d1194a563e05dfa826ab4635514477af1f7a2b0