[PATCH] Fix PR80295[aarch64] [7/8 Regression] ICE in __builtin_update_setjmp_buf expander

Andreas Schwab schwab@suse.de
Mon Sep 25 16:10:00 GMT 2017


On Sep 25 2017, Qing Zhao <qing.zhao@oracle.com> wrote:

> diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
> index 6c3ef76..876e9e3 100644
> --- a/gcc/config/aarch64/aarch64.c
> +++ b/gcc/config/aarch64/aarch64.c
> @@ -3693,7 +3693,9 @@ aarch64_expand_prologue (void)
>  				       stack_pointer_rtx,
>  				       GEN_INT (callee_offset)));
>        RTX_FRAME_RELATED_P (insn) = 1;
> -      emit_insn (gen_stack_tie (stack_pointer_rtx, hard_frame_pointer_rtx));
> +      emit_insn (TARGET_ILP32 ? 
> +                 gen_stack_tiesi (stack_pointer_rtx, hard_frame_pointer_rtx) :
> +                 gen_stack_tiedi (stack_pointer_rtx, hard_frame_pointer_rtx));

GNU style is line break before the operator, not after.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Gcc-patches mailing list