Remove unused decimal floating-point pointer types
authorJulian Brown <julian@codesourcery.com>
Fri, 29 Nov 2019 00:58:35 +0000 (00:58 +0000)
committerJulian Brown <jules@gcc.gnu.org>
Fri, 29 Nov 2019 00:58:35 +0000 (00:58 +0000)
gcc/
* builtin-types.def (BT_DFLOAT32_PTR, BT_DFLOAT64_PTR,
BT_DFLOAT128_PTR) Remove.
* tree-core.h (TI_DFLOAT32_PTR_TYPE, TI_DFLOAT64_PTR_TYPE,
TI_DFLOAT128_PTR_TYPE): Remove.
* tree.c (build_common_type_nodes): Remove dfloat32_ptr_type_node,
dfloat64_ptr_type_node and dfloat128_ptr_type_node initialisation.
* tree.h (dfloat32_ptr_type_node, dfloat64_ptr_type_node,
dfloat128_ptr_type_node): Remove macros.

gcc/jit/
* jit-builtins.c (BT_DFLOAT32_PTR, BT_DFLOAT64_PTR, BT_DFLOAT128_PTR):
Remove commented-out cases.

Reviewed-by: Joseph Myers <joseph@codesourcery.com>
From-SVN: r278826

gcc/ChangeLog
gcc/builtin-types.def
gcc/jit/ChangeLog
gcc/jit/jit-builtins.c
gcc/tree-core.h
gcc/tree.c
gcc/tree.h

index 7eed4b2047a8587036ac0836cf4ed7029278028c..b89f404a8b82ddd8d797f095f5bbc3cf3f006fc4 100644 (file)
@@ -1,3 +1,14 @@
+2019-11-29  Julian Brown  <julian@codesourcery.com>
+
+       * builtin-types.def (BT_DFLOAT32_PTR, BT_DFLOAT64_PTR,
+       BT_DFLOAT128_PTR) Remove.
+       * tree-core.h (TI_DFLOAT32_PTR_TYPE, TI_DFLOAT64_PTR_TYPE,
+       TI_DFLOAT128_PTR_TYPE): Remove.
+       * tree.c (build_common_type_nodes): Remove dfloat32_ptr_type_node,
+       dfloat64_ptr_type_node and dfloat128_ptr_type_node initialisation.
+       * tree.h (dfloat32_ptr_type_node, dfloat64_ptr_type_node,
+       dfloat128_ptr_type_node): Remove macros.
+
 2019-11-28  Segher Boessenkool  <segher@kernel.crashing.org>
 
        * config/rs6000/rs6000.md (*movsi_internal1): Fix formatting.  Improve
index 800b751de6daca63d920c0750c8e478bd9f2c6e1..2611e88da605506fade8a633591ad8031fc0c80a 100644 (file)
@@ -145,15 +145,6 @@ DEF_PRIMITIVE_TYPE (BT_DFLOAT64, (dfloat64_type_node
 DEF_PRIMITIVE_TYPE (BT_DFLOAT128, (dfloat128_type_node
                                   ? dfloat128_type_node
                                   : error_mark_node))
-DEF_PRIMITIVE_TYPE (BT_DFLOAT32_PTR, (dfloat32_ptr_type_node
-                                     ? dfloat32_ptr_type_node
-                                     : error_mark_node))
-DEF_PRIMITIVE_TYPE (BT_DFLOAT64_PTR, (dfloat64_ptr_type_node
-                                     ? dfloat64_ptr_type_node
-                                     : error_mark_node))
-DEF_PRIMITIVE_TYPE (BT_DFLOAT128_PTR, (dfloat128_ptr_type_node
-                                      ? dfloat128_ptr_type_node
-                                      : error_mark_node))
 
 DEF_PRIMITIVE_TYPE (BT_VALIST_REF, va_list_ref_type_node)
 DEF_PRIMITIVE_TYPE (BT_VALIST_ARG, va_list_arg_type_node)
index 8eb6a7f5df8d35e1cfc84e3cbf9270906c300000..6e8e09330a1954d571b8d52856f8ecc0e2c5241c 100644 (file)
@@ -1,3 +1,8 @@
+2019-11-29  Julian Brown  <julian@codesourcery.com>
+
+       * jit-builtins.c (BT_DFLOAT32_PTR, BT_DFLOAT64_PTR, BT_DFLOAT128_PTR):
+       Remove commented-out cases.
+
 2019-11-20  David Malcolm  <dmalcolm@redhat.com>
 
        PR jit/92483
index 850329c7b3604014086dc8f886c7250ce3705c2d..93d48c64c408f553300c64d6979c68ee248d85ce 100644 (file)
@@ -434,9 +434,6 @@ builtins_manager::make_primitive_type (enum jit_builtin_type type_id)
     // case BT_DFLOAT32:
     // case BT_DFLOAT64:
     // case BT_DFLOAT128:
-    // case BT_DFLOAT32_PTR:
-    // case BT_DFLOAT64_PTR:
-    // case BT_DFLOAT128_PTR:
     // case BT_VALIST_REF:
     // case BT_VALIST_ARG:
     // case BT_I1:
index 12e078882da08575b33ac36c81f6a579dcf908e1..f76f68d835d2539e20ed26537af0669f0e6eaa2f 100644 (file)
@@ -695,9 +695,6 @@ enum tree_index {
   TI_DFLOAT32_TYPE,
   TI_DFLOAT64_TYPE,
   TI_DFLOAT128_TYPE,
-  TI_DFLOAT32_PTR_TYPE,
-  TI_DFLOAT64_PTR_TYPE,
-  TI_DFLOAT128_PTR_TYPE,
 
   TI_VOID_LIST_NODE,
 
index 5ae250ee595150d523db9b1beae507b26edb0997..789f0a00f417b1a46c07d5c63a7d26bad36925c7 100644 (file)
@@ -10340,19 +10340,16 @@ build_common_tree_nodes (bool signed_char)
       TYPE_PRECISION (dfloat32_type_node) = DECIMAL32_TYPE_SIZE;
       SET_TYPE_MODE (dfloat32_type_node, SDmode);
       layout_type (dfloat32_type_node);
-      dfloat32_ptr_type_node = build_pointer_type (dfloat32_type_node);
 
       dfloat64_type_node = make_node (REAL_TYPE);
       TYPE_PRECISION (dfloat64_type_node) = DECIMAL64_TYPE_SIZE;
       SET_TYPE_MODE (dfloat64_type_node, DDmode);
       layout_type (dfloat64_type_node);
-      dfloat64_ptr_type_node = build_pointer_type (dfloat64_type_node);
 
       dfloat128_type_node = make_node (REAL_TYPE);
       TYPE_PRECISION (dfloat128_type_node) = DECIMAL128_TYPE_SIZE;
       SET_TYPE_MODE (dfloat128_type_node, TDmode);
       layout_type (dfloat128_type_node);
-      dfloat128_ptr_type_node = build_pointer_type (dfloat128_type_node);
     }
 
   complex_integer_type_node = build_complex_type (integer_type_node, true);
index 60b6eae7b04463b1c05fa2c292a404a5dda42e78..0f3cc5d7e5a380cfdcff178a94abbe87cb822324 100644 (file)
@@ -4098,9 +4098,6 @@ tree_strip_any_location_wrapper (tree exp)
 #define dfloat32_type_node              global_trees[TI_DFLOAT32_TYPE]
 #define dfloat64_type_node              global_trees[TI_DFLOAT64_TYPE]
 #define dfloat128_type_node             global_trees[TI_DFLOAT128_TYPE]
-#define dfloat32_ptr_type_node          global_trees[TI_DFLOAT32_PTR_TYPE]
-#define dfloat64_ptr_type_node          global_trees[TI_DFLOAT64_PTR_TYPE]
-#define dfloat128_ptr_type_node         global_trees[TI_DFLOAT128_PTR_TYPE]
 
 /* The fixed-point types.  */
 #define sat_short_fract_type_node       global_trees[TI_SAT_SFRACT_TYPE]