Commit c60ee6f5 by Jan Hubicka Committed by Jan Hubicka

* i386.c (classify_argument): Handle variable sized objects.

From-SVN: r56609
parent 49c3c980
Tue Aug 27 19:51:05 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.c (classify_argument): Handle variable sized objects.
Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
......
......@@ -1594,6 +1594,10 @@ classify_argument (mode, type, classes, bit_offset)
(mode == BLKmode) ? int_size_in_bytes (type) : (int) GET_MODE_SIZE (mode);
int words = (bytes + (bit_offset % 64) / 8 + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
/* Variable sized entities are always passed/returned in memory. */
if (bytes < 0)
return 0;
if (type && AGGREGATE_TYPE_P (type))
{
int i;
......
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