Commit 265d94ac by Michael Matz

i386.c (ix86_comp_type_attributes): Check for regparm attributes.

	* config/i386/i386.c (ix86_comp_type_attributes): Check for
	regparm attributes.

From-SVN: r78410
parent a00ad86b
......@@ -1686,6 +1686,9 @@ ix86_comp_type_attributes (tree type1, tree type2)
if (!lookup_attribute (rtdstr, TYPE_ATTRIBUTES (type1))
!= !lookup_attribute (rtdstr, TYPE_ATTRIBUTES (type2)))
return 0;
if (ix86_function_regparm (type1, NULL)
!= ix86_function_regparm (type2, NULL))
return 0;
return 1;
}
......
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