This is the mail archive of the gcc-patches@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]

[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,


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