------- Comment #6 from jvdelisle at gcc dot gnu dot org 2010-01-11 02:58 ------- This patch, reverting only the change to interface.c, appears to fix the problem. No other regressions in testsuite.
Index: interface.c =================================================================== --- interface.c (revision 155799) +++ interface.c (working copy) @@ -369,8 +369,7 @@ if (derived1 != NULL && derived2 != NULL && strcmp (derived1->name, derived2->name) == 0 && derived1->module != NULL && derived2->module != NULL - && (strcmp (derived1->module, derived2->module) == 0 - || derived1->attr.vtype)) + && strcmp (derived1->module, derived2->module) == 0) return 1; /* Compare type via the rules of the standard. Both types must have -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42680