This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]