From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id 1B7D73857C4D; Fri, 11 Mar 2022 23:43:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B7D73857C4D MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Michael Meissner To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-9649] Revert __SIZEOF__IBM128__ and __SIZEOF_FLOAT128__ patch. X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: 2f79dccf6b816e23296ec43bc093485fd77f23f1 X-Git-Newrev: 6f581f90e3757392a510f11279e2daf5fcfdefa8 Message-Id: <20220311234327.1B7D73857C4D@sourceware.org> Date: Fri, 11 Mar 2022 23:43:27 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2022 23:43:27 -0000 https://gcc.gnu.org/g:6f581f90e3757392a510f11279e2daf5fcfdefa8 commit r11-9649-g6f581f90e3757392a510f11279e2daf5fcfdefa8 Author: Michael Meissner Date: Fri Mar 11 18:41:20 2022 -0500 Revert __SIZEOF__IBM128__ and __SIZEOF_FLOAT128__ patch. 2022-03-05 Michael Meissner gcc/ PR target/99708 * config/rs6000/rs6000-c.c: Revert patch from 2022-03-05. gcc/testsuite/ PR target/99708 * gcc.target/powerpc/pr99708.c: Revert patch from 2022-03-05. Diff: --- gcc/config/rs6000/rs6000-c.c | 6 +----- gcc/testsuite/gcc.target/powerpc/pr99708.c | 21 --------------------- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/gcc/config/rs6000/rs6000-c.c b/gcc/config/rs6000/rs6000-c.c index 1b9822e806c..afcb5bb6e39 100644 --- a/gcc/config/rs6000/rs6000-c.c +++ b/gcc/config/rs6000/rs6000-c.c @@ -623,11 +623,7 @@ rs6000_cpu_cpp_builtins (cpp_reader *pfile) if (TARGET_FRSQRTES) builtin_define ("__RSQRTEF__"); if (TARGET_FLOAT128_TYPE) - builtin_define ("__FLOAT128_TYPE__"); - if (ibm128_float_type_node) - builtin_define ("__SIZEOF_IBM128__=16"); - if (ieee128_float_type_node) - builtin_define ("__SIZEOF_FLOAT128__=16"); + builtin_define ("__FLOAT128_TYPE__"); #ifdef TARGET_LIBC_PROVIDES_HWCAP_IN_TCB builtin_define ("__BUILTIN_CPU_SUPPORTS__"); #endif diff --git a/gcc/testsuite/gcc.target/powerpc/pr99708.c b/gcc/testsuite/gcc.target/powerpc/pr99708.c deleted file mode 100644 index d478f7bc4c0..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/pr99708.c +++ /dev/null @@ -1,21 +0,0 @@ -/* { dg-do run } */ -/* { require-effective-target ppc_float128_sw } */ -/* { dg-options "-O2 -mvsx -mfloat128" } */ - -/* - * PR target/99708 - * - * Verify that __SIZEOF_FLOAT128__ and __SIZEOF_IBM128__ are properly defined. - */ - -#include - -int main (void) -{ - if (__SIZEOF_FLOAT128__ != sizeof (__float128) - || __SIZEOF_IBM128__ != sizeof (__ibm128)) - abort (); - - return 0; -} -