Commit d7bf8ada by Mark Mitchell Committed by Mark Mitchell

function.c (aggregate_value_p): VOID_TYPE nodes are never aggregates.

	* function.c (aggregate_value_p): VOID_TYPE nodes are never
	aggregates.

From-SVN: r33129
parent 90314e82
2000-04-12 Mark Mitchell <mark@codesourcery.com>
* function.c (aggregate_value_p): VOID_TYPE nodes are never
aggregates.
2000-04-05 Andreas Jaeger <aj@suse.de>
* config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
......
......@@ -4031,6 +4031,8 @@ aggregate_value_p (exp)
tree type = (TYPE_P (exp)) ? exp : TREE_TYPE (exp);
if (TREE_CODE (type) == VOID_TYPE)
return 0;
if (RETURN_IN_MEMORY (type))
return 1;
/* Types that are TREE_ADDRESSABLE must be constructed in memory,
......
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