From: Richard Stallman Date: Sun, 12 Jul 1992 19:40:09 +0000 (+0000) Subject: entered into RCS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa45b1eba375396fd553d9825aa09dd15dad4fba;p=gcc.git entered into RCS From-SVN: r1574 --- diff --git a/gcc/machmode.h b/gcc/machmode.h index 8c0121bc6a7..921ffd51fd9 100644 --- a/gcc/machmode.h +++ b/gcc/machmode.h @@ -108,7 +108,8 @@ extern int mode_unit_size[]; /* Get the number of units in the object. */ #define GET_MODE_NUNITS(MODE) \ - (GET_MODE_SIZE ((MODE)) / GET_MODE_UNIT_SIZE ((MODE))) + ((GET_MODE_UNIT_SIZE ((MODE)) == 0) ? 0 \ + : (GET_MODE_SIZE ((MODE)) / GET_MODE_UNIT_SIZE ((MODE)))) /* Get the size in bits of an object of mode MODE. */