This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: printf format warning when sizeof(float) == sizeof(double)


On Wed, 10 Sep 2014, Joel Sherrill wrote:

> Hi
> 
> We have a few RTEMS BSPs which use CPUs where float, double,
> and long double are the same.  This triggers the printf format
> warning because promoting float to double results in float.

That was PR c/35649, which should be fixed in 4.9.

-- 
Joseph S. Myers
joseph@codesourcery.com


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