attribute(mode) ignored by Sun cc

Jay K jay.krell at cornell.edu
Sat Jun 16 19:51:07 CEST 2012


mode is ignored, so:
typedef unsigned int UQItype    __attribute__ ((mode (QI)));
typedef         int SItype    __attribute__ ((mode (SI)));
typedef unsigned int USItype    __attribute__ ((mode (SI)));
typedef         int DItype    __attribute__ ((mode (DI)));
typedef unsigned int UDItype    __attribute__ ((mode (DI)));


ends up as

typedef unsigned int UQItype;
typedef         int SItype;
typedef unsigned int USItype;
typedef         int DItype;
typedef unsigned int UDItype;


isn't that wrong and won't work? Or is it ok?


Thank you,
  - Jay

----------------------------------------
> To: jay.krell at cornell.edu
> CC: gmp-bugs at gmplib.org
> Subject: Re: attribute(mode) ignored by Sun cc
> From: tg at gmplib.org
> Date: Sat, 16 Jun 2012 15:40:20 +0200
>
> Jay K <jay.krell at cornell.edu> writes:
>
> I reported this years ago.
> It is still a problem in 5.0.2.
>
> Please spell out what the problem is.
>
> If it is only a warning, then it doesn't seem very important to fix.
>
> --
> Torbjörn
 		 	   		  


More information about the gmp-bugs mailing list