projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ccccef
)
entered into RCS
author
Richard Stallman
<rms@gnu.org>
Sun, 12 Jul 1992 19:40:09 +0000
(19:40 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 12 Jul 1992 19:40:09 +0000
(19:40 +0000)
From-SVN: r1574
gcc/machmode.h
patch
|
blob
|
history
diff --git
a/gcc/machmode.h
b/gcc/machmode.h
index 8c0121bc6a7312c48f73fdd9637186f6f8ef5c42..921ffd51fd9d7b83a558d7c14336af6c1703fbee 100644
(file)
--- 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. */