From: matz Date: Wed, 25 Feb 2004 00:45:43 +0000 (+0000) Subject: * config/i386/i386.c (ix86_comp_type_attributes): Check for X-Git-Tag: upstream/4.9.2~72779 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43525390755c496dd7c06e06b0e28c6c6e2006f4;p=platform%2Fupstream%2Flinaro-gcc.git * config/i386/i386.c (ix86_comp_type_attributes): Check for regparm attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78410 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index b7a0a71..401f4b5 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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; }