This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl


On Tuesday, November 20, 2012 03:12:56 Joseph S. Myers wrote:
> The ldbl-128 versions of nearybintl and rintl define variables i1 for
> output use by the GET_LDOUBLE_WORDS64 macro.  Nothing then uses the
> values that macro puts in those variables, resulting in
> set-but-not-used warnings.
> 
> This patch marks those variables with __attribute__ ((unused)), as
> used for various similar cases.  Tested on MIPS that this does
> eliminate those warnings.

Ok, thanks,
Andreas
-- 
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]