This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?

[gcc]
2018-06-20  Michael Meissner  <meissner@linux.ibm.com>

	* config/rs6000/rs6000.c (init_float128_ieee): Prevent complex
	multiply and divide external functions from being created more
	than once.

-- 
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

Attachment: ieee128-patch123b
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]