This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] pdp11: fix float format definitions
- From: Paul Koning <paul_koning at dell dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 Oct 2010 11:03:07 -0400
- Subject: [PATCH] pdp11: fix float format definitions
struct_real_format has changed a bit over time, and the use of it in pdp11.c has not been changed to match. The result is that float constants did not work. Fixed by this patch.
Tested by cross build, committed.
paul
ChangeLog:
2010-10-26 Paul Koning <ni1d@arrl.net>
* config/pdp11/pdp11.c (pdp11_f_format, pdp11_d_format): Update to
current definition of struct_real_format.
Index: config/pdp11/pdp11.c
===================================================================
--- config/pdp11/pdp11.c (revision 165965)
+++ config/pdp11/pdp11.c (working copy)
@@ -63,12 +63,12 @@
encode_pdp11_f,
decode_pdp11_f,
2,
- 1,
24,
24,
-127,
127,
15,
+ 15,
false,
false,
false,
@@ -84,12 +84,12 @@
encode_pdp11_d,
decode_pdp11_d,
2,
- 1,
56,
56,
-127,
127,
15,
+ 15,
false,
false,
false,