From patchwork Sat Aug 28 07:35:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Non-TFmode targets broken with "[fortran, patch] Complete front-end support for __float128" Date: Fri, 27 Aug 2010 21:35:50 -0000 From: FX X-Patchwork-Id: 62895 Message-Id: <3F93A208-94A7-4EC3-B71B-CA2C634EDA35@gmail.com> To: Hans-Peter Nilsson Cc: burnus@net-b.de, fortran@gcc.gnu.org, 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,