Jeff Law <l...@redhat.com> writes:
> On 02/05/2016 12:31 PM, Bernd Schmidt wrote:
> > 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.

Sorry for being slow to reply.

This configuration was added to MIPS as one way to make efficient use of
a single precision only FPU. The intention was to avoid promotion to
doubles where the calling convention would normally require it. The
prime example being floating point varargs arguments. There are however
a huge amount of failures in this mode when testing but it was good enough
for some users. Given there is an alternative then I have no objection
to removing it. It will be a couple of days before I have chance to
implement a -m option and update the mips-img-elf multilib.

Thanks,
Matthew


Reply via email to