From patchwork Tue Oct 26 15:03:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Koning X-Patchwork-Id: 69258 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 8C8E2B6EFF for ; Wed, 27 Oct 2010 02:03:21 +1100 (EST) Received: (qmail 30528 invoked by alias); 26 Oct 2010 15:03:18 -0000 Received: (qmail 30514 invoked by uid 22791); 26 Oct 2010 15:03:17 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ausc60ps301.us.dell.com (HELO ausc60ps301.us.dell.com) (143.166.148.206) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Oct 2010 15:03:12 +0000 X-Loopcount0: from 10.152.240.141 From: Paul Koning Subject: [PATCH] pdp11: fix float format definitions Date: Tue, 26 Oct 2010 11:03:07 -0400 Message-Id: To: gcc-patches Mime-Version: 1.0 (Apple Message framework v1081) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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,