This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ testsuite failures on AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 11 Sep 2003 16:49:50 -0400
- Subject: Re: C++ testsuite failures on AIX
Just for the record, appended is the patch I committed.
David
* decl2.c (var_finalized_p): Swap arms of conditional.
Index: decl2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/decl2.c,v
retrieving revision 1.675
diff -c -p -r1.675 decl2.c
*** decl2.c 11 Sep 2003 05:55:16 -0000 1.675
--- decl2.c 11 Sep 2003 20:37:15 -0000
*************** static bool
*** 1627,1635 ****
var_finalized_p (tree var)
{
if (flag_unit_at_a_time)
- return TREE_ASM_WRITTEN (var);
- else
return cgraph_varpool_node (var)->finalized;
}
/* If necessary, write out the vtables for the dynamic class CTYPE.
--- 1627,1635 ----
var_finalized_p (tree var)
{
if (flag_unit_at_a_time)
return cgraph_varpool_node (var)->finalized;
+ else
+ return TREE_ASM_WRITTEN (var);
}
/* If necessary, write out the vtables for the dynamic class CTYPE.