aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2009-06-26 18:52:29 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2009-06-26 11:52:29 -0700
commit39ac02d7c9026fcbb1c271ca8b382183acea50e3 (patch)
tree0f33f345dbec9b89591e3fa39f9d460be47dabdb /gcc
parent4b6e55df23bf24b6f73a53510bef97ae8f8cc0b4 (diff)
downloadgcc-39ac02d7c9026fcbb1c271ca8b382183acea50e3.zip
gcc-39ac02d7c9026fcbb1c271ca8b382183acea50e3.tar.gz
gcc-39ac02d7c9026fcbb1c271ca8b382183acea50e3.tar.bz2
decl.c (duplicate_decls): Re-indent.
2009-06-26 H.J. Lu <hongjiu.lu@intel.com> * decl.c (duplicate_decls): Re-indent. From-SVN: r148983
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c10
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 7507deb..80e55c1 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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.
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 02954b5..04b144a 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -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)
{