diff options
author | Zack Weinberg <zack@codesourcery.com> | 2003-10-29 17:01:27 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-10-29 17:01:27 +0000 |
commit | 9fcc6bf64aa50bc288aa5b4a0fbe4fbca1e71064 (patch) | |
tree | a038206dd56ae3f68f4d3347617c59e1dc96b094 /gcc | |
parent | 9585b0f7a15af7a0ca61719dbaf28753581bd807 (diff) | |
download | gcc-9fcc6bf64aa50bc288aa5b4a0fbe4fbca1e71064.zip gcc-9fcc6bf64aa50bc288aa5b4a0fbe4fbca1e71064.tar.gz gcc-9fcc6bf64aa50bc288aa5b4a0fbe4fbca1e71064.tar.bz2 |
genmodes.c (complete_mode): Record MODE_CC...
* genmodes.c (complete_mode): Record MODE_CC, MODE_INT,
MODE_FLOAT, and MODE_PARTIAL_INT modes as having one
component, not zero.
From-SVN: r73051
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/genmodes.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 874ac1d..d12861f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-10-29 Zack Weinberg <zack@codesourcery.com> + + * genmodes.c (complete_mode): Record MODE_CC, MODE_INT, + MODE_FLOAT, and MODE_PARTIAL_INT modes as having one + component, not zero. + 2003-10-29 Andreas Schwab <schwab@suse.de> * config/ia64/t-ia64 (LIB2ADDEH): Add $(srcdir)/gthr-gnat.c. diff --git a/gcc/genmodes.c b/gcc/genmodes.c index 1345655..35c8508 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; |