Re: [PATCH], PR 82748, Fix __builtin_fabsq on PowerPC

2017-11-06 Thread Michael Meissner
On Mon, Nov 06, 2017 at 05:56:59AM -0600, Segher Boessenkool wrote: > Hi! > > On Fri, Nov 03, 2017 at 06:07:38PM -0400, Michael Meissner wrote: > > This patch fixes PR 82748, which is a compiler abort if you use the old > > __builtin_fabsq function when you are changing the long double default

Re: [PATCH], PR 82748, Fix __builtin_fabsq on PowerPC

2017-11-06 Thread Segher Boessenkool
Hi! On Fri, Nov 03, 2017 at 06:07:38PM -0400, Michael Meissner wrote: > This patch fixes PR 82748, which is a compiler abort if you use the old > __builtin_fabsq function when you are changing the long double default from > IBM > double-double format to IEEE. > > The problem is __builtin_fabsq

[PATCH], PR 82748, Fix __builtin_fabsq on PowerPC

2017-11-03 Thread Michael Meissner
This patch fixes PR 82748, which is a compiler abort if you use the old __builtin_fabsq function when you are changing the long double default from IBM double-double format to IEEE. The problem is __builtin_fabsq returns a KFmode type, but when you use -mabi=ieeelongdouble, the float128 type is