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
This commit is contained in:
Richard Henderson 1997-10-28 00:04:16 -08:00 committed by Richard Henderson
parent f3352b9e9f
commit 4f3f5e9fcb
2 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,8 @@
Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
* alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
on a CLOBBER.
Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
* alpha.md (movqi, movhi): Make sure new insns created during reload

View File

@ -3020,9 +3020,10 @@ alpha_handle_trap_shadows (insns)
}
}
if (exception_nesting > 0 || alpha_tp >= ALPHA_TP_FUNC)
if (GET_CODE (i) == INSN
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)