[PATCH. rs6000] Fix PR84912: ICE using -m32 on __builtin_divde*, patch #1

Segher Boessenkool segher@kernel.crashing.org
Tue Mar 27 22:00:00 GMT 2018


On Fri, Mar 23, 2018 at 12:40:09PM -0500, Peter Bergner wrote:
> This is the first patch to fix PR84912, which is an ICE when calling some
> extended divide builtin functions.  In discussing this offline, we decided
> that all div*o builtin functions make no sense because we don't model the
> OV bit in GCC.  This patch simply removes all div*o builtins and their
> associated documentation.  The next patch will cure the remaining ICEs.
> 
> This passed bootstrap and regtesting on powerpc64-linux with no regressions.
> Ok for mainline?

Okay.  Thanks!

> Do we want this backported to the open release branches too?

It's fine to leave things as-is there, I suppose.  If it makes backports
easier it is fine for 7 as well as for 6 though.

> 	* doc/extend.texi (__builtin_divweo): Remove documention for deleted
> 	builtin function.

Typo ("documentation").


Segher



More information about the Gcc-patches mailing list