OSDN Git Service

PR go/47113
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Dec 2010 12:24:12 +0000 (12:24 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Dec 2010 12:24:12 +0000 (12:24 +0000)
* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
variable ‘field’ .

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

gcc/go/ChangeLog
gcc/go/go-backend.c

index 11fdd49..d25a523 100644 (file)
@@ -1,3 +1,9 @@
+2010-12-31  Joern Rennecke  <amylaar@spamcop.net>
+
+       PR go/47113
+       * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
+       variable ‘field’ .
+
 2010-12-21  Ian Lance Taylor  <iant@google.com>
 
        * Make-lang.in (check-go): Remove.
index 15986dc..9ffe38a 100644 (file)
@@ -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);
   }