projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a00ad86
)
i386.c (ix86_comp_type_attributes): Check for regparm attributes.
author
Michael Matz
<matz@gcc.gnu.org>
Wed, 25 Feb 2004 00:45:43 +0000
(
00:45
+0000)
committer
Michael Matz
<matz@gcc.gnu.org>
Wed, 25 Feb 2004 00:45:43 +0000
(
00:45
+0000)
* config/i386/i386.c (ix86_comp_type_attributes): Check for
regparm attributes.
From-SVN: r78410
gcc/config/i386/i386.c
patch
|
blob
|
history
diff --git
a/gcc/config/i386/i386.c
b/gcc/config/i386/i386.c
index b7a0a7156cdb51ced858d7fea26d111a5d5bab31..401f4b58a51565f29068bd02a99876821fd28a05 100644
(file)
--- 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;
}
\f