2009-06-26 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Jun 2009 18:52:29 +0000 (18:52 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Jun 2009 18:52:29 +0000 (18:52 +0000)
* decl.c (duplicate_decls): Re-indent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148983 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/decl.c

index 7507deb..80e55c1 100644 (file)
@@ -1,3 +1,7 @@
+2009-06-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * decl.c (duplicate_decls): Re-indent.
+
 2009-06-25  Ian Lance Taylor  <iant@google.com>
 
        * call.c (avoid_sign_compare_warnings): New static function.
index 02954b5..04b144a 100644 (file)
@@ -2078,11 +2078,11 @@ duplicate_decls (tree newdecl, tree olddecl, bool newdecl_is_friend)
       ggc_free (DECL_LANG_SPECIFIC (olddecl));
     }
 
-   /* Merge the USED information.  */
-   if (TREE_USED (olddecl))
-     TREE_USED (newdecl) = 1;
-   else if (TREE_USED (newdecl))
-     TREE_USED (olddecl) = 1;
+  /* Merge the USED information.  */
+  if (TREE_USED (olddecl))
+    TREE_USED (newdecl) = 1;
+  else if (TREE_USED (newdecl))
+    TREE_USED (olddecl) = 1;
 
   if (TREE_CODE (newdecl) == FUNCTION_DECL)
     {