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]

Re: Non-TFmode targets broken with "[fortran,patch] Complete front-end support for __float128"


On Sat, Aug 28, 2010 at 12:53 AM, FX <fxcoudert@gmail.com> wrote:
> Hi Andrew,
>
>> Yes because TImode is defined in machmode.def which is unlike TFmode
>> which is not included in all targets.
>
> I see how your patch avoids this issue, but it seems a bit overkill to me to check all builtin types just to catch one :)
>
> I think GET_MODE_PRECISION(mode) == 128 achieves the same goal as (mode == TFmode).

It might but some other target might use GXmode and not __float128 for
their precision 128 floats.

-- Pinski


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