2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2024-12-21 16:29:34 +08:00

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
gcc
ChangeLog
config/alpha

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,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;
}
}
}