From 2358ff9116d8167e4b0d2f70a9d61e4e8ca5168e Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 20 Oct 2005 14:14:30 +0200 Subject: re PR rtl-optimization/23585 (mem_fun* code fine with -O1, bus error with -O2) PR rtl-optimization/23585 * rtlanal.c (rtx_addr_can_trap_p_1): New predicate extracted from... (rtx_addr_can_trap_p): ... here. Invoke rtx_addr_can_trap_p_1. (may_trap_p_1): New predicate extracted from... (may_trap_p): ... here. Invoke may_trap_p_1. (may_trap_or_fault_p): New predicate. * rtl.h (may_trap_or_fault_p): Declare it. * reorg.c (steal_delay_list_from_target): Use may_trap_or_fault_p instead of may_trap_p. (steal_delay_list_from_fallthrough): Likewise. (fill_simple_delay_slots): Likewise. (fill_slots_from_thread): Likewise. * function.c (pad_to_arg_alignment): Rework comment about SPARC_STACK_BOUNDARY_HACK. * config/sparc/sparc.h: Likewise. From-SVN: r105671 --- gcc/config/sparc/sparc.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gcc/config/sparc/sparc.h') diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index bb81dcc..a72cc90 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -624,11 +624,9 @@ if (TARGET_ARCH64 \ /* Boundary (in *bits*) on which stack pointer should be aligned. */ /* FIXME, this is wrong when TARGET_ARCH64 and TARGET_STACK_BIAS, because - then sp+2047 is 128-bit aligned so sp is really only byte-aligned. */ + then %sp+2047 is 128-bit aligned so %sp is really only byte-aligned. */ #define STACK_BOUNDARY (TARGET_ARCH64 ? 128 : 64) -/* Temporary hack until the FIXME above is fixed. This macro is used - only in pad_to_arg_alignment in function.c; see the comment there - for details about what it does. */ +/* Temporary hack until the FIXME above is fixed. */ #define SPARC_STACK_BOUNDARY_HACK (TARGET_ARCH64 && TARGET_STACK_BIAS) /* ALIGN FRAMES on double word boundaries */ -- cgit v1.1