Commit e4dbaed5 by Andreas Schwab Committed by Andreas Schwab

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
parent 18b467f1
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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment