[PATCH], PowerPC long double transition patches, v2, Patch #4 (fix bug in clone/target attributes on long double == IEEE 128-bit systems)

Michael Meissner meissner@linux.ibm.com
Thu Jun 21 22:57:00 GMT 2018


On Thu, Jun 21, 2018 at 05:18:19PM -0500, Segher Boessenkool wrote:
> On Wed, Jun 20, 2018 at 10:42:38AM -0400, Michael Meissner wrote:
> > This patch prevents the special overriding of the complex float128
> > multiply/divide functions from being run twice if there are clone or target
> > attributes.  I wasn't aware that the hook used to initialize the built-in
> > functions is run each time you change the target options.  The built-in
> > function handling aborts if the name had already been set.
> > 
> > I have tested this on a little endian power8 sysytem using two builds with long
> > double set to IEEE and IBM 128-bit.  This patch fixes testsuite errors from
> > using the clone or target attributes.  Can I install it in the trunk and GCC
> > 8.x branches?
> 
> Next time, please mention what tests are fixed.

It was at least clone1.c and clone2.c.

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meissner@linux.ibm.com, phone: +1 (978) 899-4797



More information about the Gcc-patches mailing list