This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Committed: Fix PR go/47113
- From: Joern Rennecke <amylaar at spamcop dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 31 Dec 2010 07:28:41 -0500
- Subject: Committed: Fix PR go/47113
Teted for x86_64-pc-linux-gnu X
powerpc-darwin8 powerpc-darwin7 powerpc64-darwin .
Committed as obvious.
2010-12-31 Joern Rennecke <amylaar@spamcop.net>
PR go/47113
* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
variable âfieldâ .
Index: go/go-backend.c
===================================================================
--- go/go-backend.c (revision 168370)
+++ go/go-backend.c (working copy)
@@ -53,7 +53,7 @@ go_field_alignment (tree t)
#ifdef ADJUST_FIELD_ALIGN
{
- tree field;
+ tree field ATTRIBUTE_UNUSED;
field = build_decl (UNKNOWN_LOCATION, FIELD_DECL, NULL, t);
v = ADJUST_FIELD_ALIGN (field, v);
}