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
This commit is contained in:
parent
9585b0f7a1
commit
9fcc6bf64a
@ -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.
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user