From patchwork Tue Oct 26 15:03:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: pdp11: fix float format definitions Date: Tue, 26 Oct 2010 05:03:07 -0000 From: Paul Koning X-Patchwork-Id: 69258 Message-Id: To: gcc-patches 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 * 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,