From patchwork Sat Aug 28 07:35:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FX Coudert X-Patchwork-Id: 62895 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 1C3C8B7120 for ; Sat, 28 Aug 2010 17:36:08 +1000 (EST) Received: (qmail 31735 invoked by alias); 28 Aug 2010 07:36:04 -0000 Received: (qmail 31716 invoked by uid 22791); 28 Aug 2010 07:36:02 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, TW_BG X-Spam-Check-By: sourceware.org Received: from mail-ww0-f51.google.com (HELO mail-ww0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 28 Aug 2010 07:35:57 +0000 Received: by wwb39 with SMTP id 39so1030714wwb.8 for ; Sat, 28 Aug 2010 00:35:54 -0700 (PDT) Received: by 10.216.1.208 with SMTP id 58mr2059745wed.22.1282980954477; Sat, 28 Aug 2010 00:35:54 -0700 (PDT) Received: from [192.168.0.101] (chufi.coudert.name [88.162.139.106]) by mx.google.com with ESMTPS id k46sm3000290weq.34.2010.08.28.00.35.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 28 Aug 2010 00:35:52 -0700 (PDT) Subject: Re: Non-TFmode targets broken with "[fortran, patch] Complete front-end support for __float128" Mime-Version: 1.0 (Apple Message framework v1081) From: FX In-Reply-To: <201008280036.o7S0a3E2017670@ignucius.se.axis.com> Date: Sat, 28 Aug 2010 09:35:50 +0200 Cc: burnus@net-b.de, fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org Message-Id: <3F93A208-94A7-4EC3-B71B-CA2C634EDA35@gmail.com> References: <201008280036.o7S0a3E2017670@ignucius.se.axis.com> To: Hans-Peter Nilsson 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 > Breaking targets without TFmode, like cris-elf Sorry for breaking bootstraps on (apparently) all targets. I thought I had tested it independently from library support, but apparently I failed to redo so properly after getting rid of the option. I committed the following fix as rev. 163611 to restore bootstrap: Index: trans-types.c =================================================================== --- trans-types.c (revision 163610) +++ trans-types.c (working copy) @@ -410,12 +410,11 @@ /* Only let float, double, long double and __float128 go through. Runtime support for others is not provided, so they would be - useless. TFmode support is only enabled with option - -fsoft-float. */ + useless. TODO: TFmode support should be enabled once libgfortran + support is done. */ if (mode != TYPE_MODE (float_type_node) && (mode != TYPE_MODE (double_type_node)) - && (mode != TYPE_MODE (long_double_type_node)) - && (mode != TFmode)) + && (mode != TYPE_MODE (long_double_type_node))) continue; /* Let the kind equal the precision divided by 8, rounding up. Again,