On Wed, Jun 13, 2018 at 05:21:55PM -0400, Michael Meissner wrote: > In addition to the previous patch to aid in transitioning the PowerPC long > double format to IEEE 128-bit, I have some additional patches that are needed. > The previous patch is: > https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00634.html > > This patch prevents re-running the ibm128 and ieee128 initialization functions > when the compiler was handling the clone and target attributes/pragmas. In > particular, the compiler would issue an internal compiler error or segfault > when the complex multiply/divide built-in functions were re-defined. > > Note, the GLIBC library that I used is not fully converted. I'm ignoring the > issues that are due to the library, and just focusing on the compiler support. > > I have done separate bootstraps on a little endian power8 system with the long > double type set to IBM extended and IEEE 128-bit extended. There were no > regressions in using this patch. Can I check it in, and eventually back port > it to GCC 8.2 with the other long double transition patches.
With the various library failures, I didn't notice that this patch does break LTO. So I will need to rework this patch so that it fixes both LTO and clone/target attributes. -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meiss...@linux.ibm.com, phone: +1 (978) 899-4797