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]

PATCH: Re-indent decl.c (duplicate_decls)


Hi,

I checked in this patch to fix indent in decl.c (duplicate_decls).

H.J.
---
Index: decl.c
===================================================================
--- decl.c	(revision 148982)
+++ decl.c	(working copy)
@@ -2078,11 +2078,11 @@ duplicate_decls (tree newdecl, tree oldd
       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)
     {
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 148982)
+++ ChangeLog	(working copy)
@@ -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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]