This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build of HEAD failed for native with your patch on 2005-06-30T19:46:29Z.
- From: Geoffrey Keating <geoffk at geoffk dot org>
- To: gcc-regression at gcc dot gnu dot org
- Cc: bernd dot schmidt at analog dot com, dvorakz at suse dot cz, edelsohn at gnu dot org, jakub at redhat dot com, jjohnst at us dot ibm dot com, kazu at codesourcery dot com, kcook at gcc dot gnu dot org, keiths at redhat dot com, roger at eyesopen dot com, stevenb at suse dot de
- Date: 30 Jun 2005 14:07:33 -0700
- Subject: Re: GCC build of HEAD failed for native with your patch on 2005-06-30T19:46:29Z.
- References: <20050630202320.09ECE186C2C14@gcc-regress.apple.com>
"GCC regression checker" <geoffk@apple.com> writes:
I expect that this:
> With your recent patch, GCC HEAD does not compile on:
> native
> build/genmodes -h > tmp-modes.h
> make[2]: *** [s-modes] Error 138
is due to this patch:
> +2005-06-30 Jakub Jelinek <jakub@redhat.com>
> +
> + * function.c (stack_protect_epilogue): Pass label to
> + stack_protect_test, assume it emitted also the conditional
> + branch.
> + * doc/md.texi (stack_protect_test): Adjust documentation.
> + * config/i386/i386.md (stack_protect_test): Add third argument,
> + emit beq with operands[2].
> + * config/rs6000/rs6000.h (FRAME_GROWS_DOWNWARD): Define to
> + flag_stack_protect != 0.
> + * config/rs6000/rs6000.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New
> + constants.
> + (stack_protect_set, stack_protect_test): New expanders.
> + (stack_protect_setsi, stack_protect_setdi, stack_protect_testsi,
> + stack_protect_testdi): New insns.
> + * config/rs6000/rs6000.c (rs6000_stack_protect_fail): New function.
> + (TARGET_STACK_PROTECT_FAIL): Define.
> + (rs6000_generate_compare): Handle UNSPEC_SP_TEST.
> +
> + * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTER): Increment.
> + (DWARF_FRAME_REGISTERS, DWARF_REG_TO_UNWIND_COLUMN): Adjust, so
> + that addition of sfp doesn't change these.
> + (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
> + REG_ALLOC_ORDER): Add sfp.
> + (INT_REGNO_P): Include FRAME_POINTER_REGNUM.
> + (FRAME_POINTER_REGNUM): Define to 113.
> + (HARD_FRAME_POINTER_REGNUM): Define to 31.
> + (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Add sfp.
> + (STARTING_FRAME_OFFSET): Set to 0 for FRAME_GROWS_DOWNWARD.
> + (ELIMINABLE_REGS): Never eliminate to
> + FRAME_POINTER_REGNUM, but HARD_FRAME_POINTER_REGNUM
> + instead. Add eliminations from FRAME_POINTER_REGNUM.
> + (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, INT_REG_OK_FOR_INDEX_P):
> + Include FRAME_POINTER_REGNUM.
> + (REGISTER_NAMES): Add sfp.
> + * config/rs6000/rs6000.c (rs6000_reg_names): Add sfp.
> + (alt_reg_names): Likewise.
> + (rs6000_stack_info): Handle FRAME_GROWS_DOWNWARD.
> + (rs6000_emit_prologue): Use HARD_FRAME_POINTER_REGNUM
> + instead of FRAME_POINTER_REGNUM.
> + (rs6000_initial_elimination_offset): Never eliminate to
> + FRAME_POINTER_REGNUM, but HARD_FRAME_POINTER_REGNUM
> + instead. Add elimination offsets from FRAME_POINTER_REGNUM.
> +
> + * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Only return non-zero
> + if DEFAULT_ABI == ABI_V4.