- Previous thread: A small (preprocessor) problem, and a modest enhancement proposal
- Next thread: Re: PATCH: Re-indent c-decl.c (merge_decls)
- Threads sorted by date: gcc 200906
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
+
+ * decl.c (duplicate_decls): Re-indent.
+
2009-06-25 Ian Lance Taylor
* call.c (avoid_sign_compare_warnings): New static function.
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
+
+ * decl.c (duplicate_decls): Re-indent.
+
2009-06-25 Ian Lance Taylor
* call.c (avoid_sign_compare_warnings): New static function.
Related Threads
- Thunderbird 3 shows local folders twice - thunderbird
- [PATCH 0/3] Regulator updates for 2.6.34 - kernel
- [CentOS] CentOS 5.4 x86_64 and HPLIP-3.9.12 - centos
- [users] Draw - Slide thumbs in LH side panel.? - openoffice
- [jQuery] Problem with using autocomplete on Firefox - asp.net - jquery
- [Hendrix] Still no support for Keychain in OS X? - firefox
- Mini PCI Wireless Card - openbsd
- Important: Email Account Verification Update!! ! - kernel
- [Hendrix] Private Browsing - firefox
- linux-next: pcmcia tree build failure - kernel
- WxPython upgrade trouble on Ubuntu 8.04 - python
- [PATCH v3 0/3] i2c-mpc: add support for the Freescale MPC512x and other fixes - linuxppc