This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix bootstrap with -mno-accumulate-outgoing-args
- From: Ryan Mansfield <rmansfield at qnx dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 2 Jan 2014 09:46:15 -0500
- Subject: Re: Fix bootstrap with -mno-accumulate-outgoing-args
- Authentication-results: sourceware.org; auth=none
- References: <20140101142311 dot GC26209 at kam dot mff dot cuni dot cz>
On 14-01-01 09:23 AM, Jan Hubicka wrote:
Here insn 765 gets adjusted for insn766 wihtout updating REG_ARGS_SIZE.
This is IMO not bug in scheduler but bug in fact that insn 775 should not have the note on it
when it is not adjusting stack pointer. This is because originally it was push instruction,
but combine-stack-adjustments turned it into move.
I think it should remove the ARG_SIZE note when doing so, since argument block size should
be corrently annotated by preceeding stack adjustment insn.
Bootstrapped/regtested x86_64-linux. Did not double check it is solves the ARM issue
reported in PR, too.
FWIW, I tested your patch and it doesn't address the ICE on ARM.
Regards,
Ryan Mansfield