]> gcc.gnu.org Git - gcc.git/commitdiff
* decl2.c (var_finalized_p): Swap arms of conditional.
authorDavid Edelsohn <edelsohn@gnu.org>
Thu, 11 Sep 2003 20:47:13 +0000 (20:47 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Thu, 11 Sep 2003 20:47:13 +0000 (16:47 -0400)
From-SVN: r71319

gcc/cp/ChangeLog
gcc/cp/decl2.c

index 2f3461a254c99106d0a87bfe7c4c3850c31e573b..f9a7339c03f10be83b5567a1b8e4a58914b2f6b1 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-11  David Edelsohn  <edelsohn@gnu.org>
+
+       * decl2.c (var_finalized_p): Swap arms of conditional.
+
 2003-09-10  Nathan Sidwell  <nathan@codesourcery.com>
 
        PR c++/11788
index 7c3620d7d44fb23faf368b7879ffb919241d137c..6f30cf9b35bfa39f245c3f24720ed1663d0850f7 100644 (file)
@@ -1627,9 +1627,9 @@ static bool
 var_finalized_p (tree var)
 {
   if (flag_unit_at_a_time)
-    return TREE_ASM_WRITTEN (var);
-  else
     return cgraph_varpool_node (var)->finalized;
+  else
+    return TREE_ASM_WRITTEN (var);
 }
 
 /* If necessary, write out the vtables for the dynamic class CTYPE.
This page took 0.086733 seconds and 5 git commands to generate.