[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 --- Comment #9 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:d9398dd2902a0142fa3b493cf61a340f1f5ab46f commit r12-325-gd9398dd2902a0142fa3b493cf61a340f1f5ab46f Author: Michael Meissner Date: Fri Apr 30 12:32:08 2021 -0400 Define target hook to emit KFmode constants for libgcc. This patch defines a target hook so that the KFmode constants (__LIBGCC_KF_MAX__, __LIBGCC_KF_MIN__, and __LIBGCC_KF_EPSILON__) needed to build _divkc3.c in libgcc are defined. The need for these constants were added in the April 28th changes to libgcc that added complex division optimizations. We only define the KFmode constants if IEEE 128-bit floating point is supported, but long double does not use the IEEE 128-bit format. If long double uses the IEEE 128-bit format, it will use TFmode and not KFmode. gcc/ 2021-04-30 Michael Meissner PR bootstrap/100327 * config/rs6000/rs6000.c (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Define. (rs6000_libgcc_floating_mode_supported_p): New target hook.
[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #8 from Tobias Burnus --- (In reply to Michael Meissner from comment #7) > Patch committed on April 29th, 2021. Actually, no patch was committed – albeit some patches were submitted. Still, this PR was closed as FIXED ... Current status: PR 100350.
[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 Michael Meissner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #7 from Michael Meissner --- Patch committed on April 29th, 2021.
[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 Michael Meissner changed: What|Removed |Added Attachment #50708|0 |1 is obsolete|| Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2021-04-29 Assignee|unassigned at gcc dot gnu.org |meissner at gcc dot gnu.org --- Comment #6 from Michael Meissner --- Created attachment 50709 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50709=edit Use FLT128 constants for complex KFmode division. This patch uses the FLT128 constants that are already defined for building _divkf3.c instead of trying expect the constants to be defined as __LIBGCC_KF. The __LIBGCC_KF constants are not defined. I am starting a build now with this patch.
[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 --- Comment #5 from Michael Meissner --- Unfortunately the patch does not work because there aren't suffixes for IFmode and KFmode.
[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 Michael Meissner changed: What|Removed |Added CC||meissner at gcc dot gnu.org --- Comment #4 from Michael Meissner --- Created attachment 50708 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50708=edit patch to define floating point constants for KFmode and IFmode. I am about to kick off a bootstrap with this patch.
[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 --- Comment #3 from Richard Biener --- Possibly if (!targetm.scalar_mode_supported_p (mode) || !targetm.libgcc_floating_mode_supported_p (mode)) continue;
[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|--- |12.0 --- Comment #2 from Richard Biener --- I think backends or the FE are supposed to pre-define __LIBGCC_KF_* if -fbuilding-libgcc See c-family/c-cppbuiltin.c where it checks for flag_building_libgcc. Not sure why that doesn't pick up KFmode?
[Bug bootstrap/100327] [12 regression] bootstrap failure after r12-228
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327 seurer at gcc dot gnu.org changed: What|Removed |Added Build||powerpc64*-linux-gnu Target||powerpc64*-linux-gnu Host||powerpc64*-linux-gnu --- Comment #1 from seurer at gcc dot gnu.org --- Note: I could not find an email for patrick.mcgehea...@oracle.com that worked to add him to the CC: list.