On Tue, Jan 14, 2014 at 05:59:11PM +0100, Jan-Benedict Glaw wrote: > 2014-01-14 Jan-Benedict Glaw <jbg...@lug-owl.de> > > PR bootstrap/59496 > * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Fix unused variable > warning.
Ok, thanks. > diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h > index 43a2ab5..fc1f862 100644 > --- a/gcc/config/rs6000/darwin.h > +++ b/gcc/config/rs6000/darwin.h > @@ -328,9 +328,10 @@ extern int darwin_emit_branch_islands; > behavior is dealt with by > darwin_rs6000_special_round_type_align. */ > #define ADJUST_FIELD_ALIGN(FIELD, COMPUTED) \ > - (TARGET_ALIGN_NATURAL ? (COMPUTED) \ > - : (COMPUTED) == 128 ? 128 \ > - : MIN ((COMPUTED), 32)) > + ((void) (FIELD), \ > + (TARGET_ALIGN_NATURAL ? (COMPUTED) \ > + : (COMPUTED) == 128 ? 128 \ > + : MIN ((COMPUTED), 32))) > > /* Darwin increases natural record alignment to doubleword if the first > field is an FP double while the FP fields remain word aligned. */ > Jakub