This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcc/78804] [RX] -m64bit-doubles does not work
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 12 Aug 2017 04:52:42 +0000
- Subject: [Bug libgcc/78804] [RX] -m64bit-doubles does not work
- Auto-submitted: auto-generated
- References: <bug-78804-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78804
--- Comment #9 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Created attachment 41982
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41982&action=edit
Proposed patch
I'd propose to remove the FLOAT_BIT_ORDER_MISMATCH stuff altogether. It's more
portable to use shift-and-mask than bitfields. Bitfields depend on too many
things, like BITS_BIG_ENDIAN, BIGGEST_FIELD_ALIGNMENT, ....
The patch fixes the issue on RX.