diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2005-05-14 18:08:20 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2005-05-14 18:08:20 +0000 |
commit | 90285d8d96e6a2c348691f35fe37e936f64eeb01 (patch) | |
tree | 8bad8112a886f52c636ec98bdf561b07b231fc5f /gcc/config/vax/vax.md | |
parent | 0f8def688dde484c63a3d5271d10b2c0bfbd2c0e (diff) | |
download | gcc-90285d8d96e6a2c348691f35fe37e936f64eeb01.zip gcc-90285d8d96e6a2c348691f35fe37e936f64eeb01.tar.gz gcc-90285d8d96e6a2c348691f35fe37e936f64eeb01.tar.bz2 |
vax.c: (print_operand_address) Use gcc_unreachable() and gcc_assert().
* config/vax/vax.c: (print_operand_address) Use gcc_unreachable() and
gcc_assert().
(rev_cond_name) Likewise.
(vax_float_literal) Likewise.
* config/vax/vax.md: Likewise.
Co-Authored-By: Jan-Benedict Glaw <jbglaw@lug-owl.de>
From-SVN: r99703
Diffstat (limited to 'gcc/config/vax/vax.md')
-rw-r--r-- | gcc/config/vax/vax.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/vax/vax.md b/gcc/config/vax/vax.md index a77f841..6d447f7 100644 --- a/gcc/config/vax/vax.md +++ b/gcc/config/vax/vax.md @@ -1205,8 +1205,7 @@ (match_operand:SI 3 "immediate_operand" "")))])] "" { - if (INTVAL (operands[3]) > 255 * 4 || INTVAL (operands[3]) % 4) - abort (); + gcc_assert (INTVAL (operands[3]) <= 255 * 4 && INTVAL (operands[3]) % 4 == 0); /* Operand 1 is the number of bytes to be popped by DW_CFA_GNU_args_size during EH unwinding. We must include the argument count pushed by @@ -1234,8 +1233,7 @@ (match_operand:SI 4 "immediate_operand" "")))])] "" { - if (INTVAL (operands[4]) > 255 * 4 || INTVAL (operands[4]) % 4) - abort (); + gcc_assert (INTVAL (operands[4]) <= 255 * 4 && INTVAL (operands[4]) % 4 == 0); /* Operand 2 is the number of bytes to be popped by DW_CFA_GNU_args_size during EH unwinding. We must include the argument count pushed by |