Remove -fshort-double (PR60410)

Bernd Schmidt bschmidt@redhat.com
Fri Feb 5 19:31:00 GMT 2016


This patch fixes PR60410 by removing -fshort-double. Nick earlier 
propsed a fix for the crash, but Richard B suggested removing the option 
entirely, and I'd agree with that. It's a pointless ABI-changing option 
on most targets, and if a port really needs it, it should be a -m option 
that tweaks DOUBLE_TYPE_SIZE.

It turns out that there is still a mips config that enables it for a set 
of multilibs. As mentioned here:
   https://gcc.gnu.org/ml/gcc-patches/2016-01/msg02140.html
I've not managed to make that config build, it fails configuring libgcc. 
A mips maintainer would have to speak up as to whether that config is 
useful at all or not.

In any case, the patch below was bootstrapped and tested on 
x86_64-linux. Ok?


Bernd

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nosd.diff
Type: text/x-patch
Size: 9733 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160205/dbcbcc9e/attachment.bin>


More information about the Gcc-patches mailing list