From 4f3f5e9fcb78c4a8c635ab1c8fc3d42cd9c73a5f Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 28 Oct 1997 00:04:16 -0800 Subject: [PATCH] alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap on a CLOBBER. * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap on a CLOBBER. From-SVN: r16212 --- gcc/ChangeLog | 5 +++++ gcc/config/alpha/alpha.c | 19 ++++++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 001cf1f12be..96830d59fc0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Oct 27 23:59:26 1997 Richard Henderson + + * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap + on a CLOBBER. + Mon Oct 27 21:25:20 1997 Richard Henderson * alpha.md (movqi, movhi): Make sure new insns created during reload diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index f1adea4d003..67b80ac70e3 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -3020,15 +3020,16 @@ alpha_handle_trap_shadows (insns) } } - if (exception_nesting > 0 || alpha_tp >= ALPHA_TP_FUNC) - if (GET_CODE (i) == INSN - && GET_CODE (PATTERN (i)) != USE - && get_attr_trap (i) == TRAP_YES) - { - if (optimize && !trap_pending) - summarize_insn (PATTERN (i), &shadow, 0); - trap_pending = 1; - } + if ((exception_nesting > 0 || alpha_tp >= ALPHA_TP_FUNC) + && GET_CODE (i) == INSN + && GET_CODE (PATTERN (i)) != USE + && GET_CODE (PATTERN (i)) != CLOBBER + && get_attr_trap (i) == TRAP_YES) + { + if (optimize && !trap_pending) + summarize_insn (PATTERN (i), &shadow, 0); + trap_pending = 1; + } } }