i386.c (classify_argument): Also check for QUAL_UNION_TYPE.
* config/i386/i386.c (classify_argument): Also check for QUAL_UNION_TYPE. From-SVN: r51484
This commit is contained in:
parent
18b467f142
commit
e4dbaed54e
@ -1,3 +1,8 @@
|
||||
2002-03-27 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* config/i386/i386.c (classify_argument): Also check for
|
||||
QUAL_UNION_TYPE.
|
||||
|
||||
2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
|
||||
|
@ -1726,7 +1726,8 @@ classify_argument (mode, type, classes, bit_offset)
|
||||
classes[i] = subclasses[i % num];
|
||||
}
|
||||
/* Unions are similar to RECORD_TYPE but offset is always 0. */
|
||||
else if (TREE_CODE (type) == UNION_TYPE)
|
||||
else if (TREE_CODE (type) == UNION_TYPE
|
||||
|| TREE_CODE (type) == QUAL_UNION_TYPE)
|
||||
{
|
||||
for (field = TYPE_FIELDS (type); field; field = TREE_CHAIN (field))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user