PATCH: fix PR 10114
Ben Elliston
bje@au1.ibm.com
Mon May 11 14:29:00 GMT 2009
This patch corrects PR 10114, using an alternative approach that does
not alter the code generated. Okay for mainline?
Thanks, Ben
2009-05-11 Ben Elliston <bje@au.ibm.com>
* config/soft-fp/op-common.h (_FP_DECL): Initialise X##_e with
itself to eliminate a compiler warning.
Index: config/soft-fp/op-common.h
===================================================================
--- config/soft-fp/op-common.h (revision 147352)
+++ config/soft-fp/op-common.h (working copy)
@@ -30,8 +30,8 @@
Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
-#define _FP_DECL(wc, X) \
- _FP_I_TYPE X##_c __attribute__((unused)), X##_s, X##_e; \
+#define _FP_DECL(wc, X) \
+ _FP_I_TYPE X##_c __attribute__((unused)), X##_s, X##_e = X##_e; \
_FP_FRAC_DECL_##wc(X)
/*
More information about the Libc-alpha
mailing list