[gcc(refs/users/meissner/heads/work027)] Revert patch.

Michael Meissner meissner@gcc.gnu.org
Fri Nov 13 03:49:50 GMT 2020


https://gcc.gnu.org/g:1effd85cbd42c9fc4e4d94b9dc0c159f46c3b4ae

commit 1effd85cbd42c9fc4e4d94b9dc0c159f46c3b4ae
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Thu Nov 12 22:49:20 2020 -0500

    Revert patch.
    
    gcc/
    2020-11-12  Michael Meissner  <meissner@linux.ibm.com>
    
            Revert.
            * config/rs6000/rs6000.c (rs6000_option_override_internal): If the
            user explicitly used -mabi=ieeelongdouble or -mabi=ibmlongdouble,
            set the long double size to 128.
            * doc/invoke.texi (PowerPC options): Document that an explicit
            -mabi=ieeelongdouble or -mabi=ibmlongdouble implicitly sets
            -mlong-double-128.

Diff:
---
 gcc/config/rs6000/rs6000.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 6edd17a0b69..35e9c844e17 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -4131,13 +4131,8 @@ rs6000_option_override_internal (bool global_init_p)
 
   /* Use long double size to select the appropriate long double.  We use
      TYPE_PRECISION to differentiate the 3 different long double types.  We map
-     128 into the precision used for TFmode.
-
-     If the user explicitly used -mabi=ieeelongdouble or -mabi=ibmlongdouble,
-     but the compiler was configured for default 64-bit long doubles, set the
-     long double to be 128.  */
-  int default_long_double_size = ((RS6000_DEFAULT_LONG_DOUBLE_SIZE == 64
-				   && !global_options_set.x_rs6000_ieeequad)
+     128 into the precision used for TFmode.  */
+  int default_long_double_size = (RS6000_DEFAULT_LONG_DOUBLE_SIZE == 64
 				  ? 64
 				  : FLOAT_PRECISION_TFmode);


More information about the Gcc-cvs mailing list