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

Andreas Jaeger aj@suse.com
Tue Nov 20 08:02:00 GMT 2012


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



More information about the Libc-alpha mailing list