diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-29 17:01:27 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-29 17:01:27 +0000 |
commit | 24b7dafb66fd293a989605ef625a30ee8bef3d75 (patch) | |
tree | a038206dd56ae3f68f4d3347617c59e1dc96b094 /gcc/genmodes.c | |
parent | a24e704918e65dcc311f0f483838060514beb0d3 (diff) | |
download | gcc-24b7dafb66fd293a989605ef625a30ee8bef3d75.tar.gz |
* genmodes.c (complete_mode): Record MODE_CC, MODE_INT,
MODE_FLOAT, and MODE_PARTIAL_INT modes as having one
component, not zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73051 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genmodes.c')
-rw-r--r-- | gcc/genmodes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/genmodes.c b/gcc/genmodes.c index 13456555be6..35c8508d727 100644 --- a/gcc/genmodes.c +++ b/gcc/genmodes.c @@ -316,7 +316,7 @@ complete_mode (struct mode_data *m) validate_mode (m, UNSET, UNSET, UNSET, UNSET, UNSET); m->bytesize = 4; - m->ncomponents = 0; + m->ncomponents = 1; m->component = 0; break; @@ -328,7 +328,7 @@ complete_mode (struct mode_data *m) validate_mode (m, OPTIONAL, SET, UNSET, UNSET, m->class == MODE_FLOAT ? SET : UNSET); - m->ncomponents = 0; + m->ncomponents = 1; m->component = 0; break; @@ -340,7 +340,7 @@ complete_mode (struct mode_data *m) m->bytesize = m->component->bytesize; - m->ncomponents = 0; + m->ncomponents = 1; m->component = 0; /* ??? preserve this */ break; |