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: [patch] Add support for FP bit fields in varasm.c


On Mon, Apr 2, 2012 at 12:57 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> You should be able to use fold_unary instead of fold_build1.
>> make_signed_type should also not be used, but
>> build_nonstandard_integer_type (or even better, get an integer mode of the
>> same size of the float mode and then use type_for_mode).
>
> Using the mode size wouldn't work directly for XFmode on x86. ?Moreover the
> precision seems to be the right property in this bit-field context.
>
> Adjusted patch attached, tested on i586-suse-linux, OK for mainline?

Ok.

Thanks,
Richard.

> --
> Eric Botcazou


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