http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43673
Ryan S. Arnold <rsa at us dot ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bergner at gcc dot gnu.org, | |rsa at us dot ibm.com --- Comment #1 from Ryan S. Arnold <rsa at us dot ibm.com> 2012-02-07 20:14:38 UTC --- This also warns with %Ha (_Decimal32) and %DDa (_Decimal128). I suspect that the correct way to deal with this is for the compiler to disable this warning (or enable this combination) when __STDC_DEC_FP__ is set, where __STDC_DEC_FP__ indicates BOTH the compiler and library conform to the DFP TR. Currently this define is unavailable due to the inability of the compiler to programmatically determine availability of libdfp at compile time. There is a proposed GLIBC/GCC patch to provide a facility to allow this introduced in the following email: http://sourceware.org/ml/libc-alpha/2009-04/msg00005.html