diff options
author | Julian Brown <julian@codesourcery.com> | 2019-11-29 00:58:35 +0000 |
---|---|---|
committer | Julian Brown <jules@gcc.gnu.org> | 2019-11-29 00:58:35 +0000 |
commit | 70ce1ab9fd2e201631b253bb62489d07189d2d50 (patch) | |
tree | b5b43d41c80f2fb4bcc07e85944bf87a03475c02 | |
parent | 19f9ca88fefc5cce325d1df32c5d4818cba4fb8f (diff) | |
download | gcc-70ce1ab9fd2e201631b253bb62489d07189d2d50.zip gcc-70ce1ab9fd2e201631b253bb62489d07189d2d50.tar.gz gcc-70ce1ab9fd2e201631b253bb62489d07189d2d50.tar.bz2 |
Remove unused decimal floating-point pointer types
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
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/builtin-types.def | 9 | ||||
-rw-r--r-- | gcc/jit/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/jit/jit-builtins.c | 3 | ||||
-rw-r--r-- | gcc/tree-core.h | 3 | ||||
-rw-r--r-- | gcc/tree.c | 3 | ||||
-rw-r--r-- | gcc/tree.h | 3 |
7 files changed, 16 insertions, 21 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7eed4b2..b89f404 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/builtin-types.def b/gcc/builtin-types.def index 800b751..2611e88 100644 --- a/gcc/builtin-types.def +++ b/gcc/builtin-types.def @@ -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) diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 8eb6a7f..6e8e093 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -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 diff --git a/gcc/jit/jit-builtins.c b/gcc/jit/jit-builtins.c index 850329c..93d48c6 100644 --- a/gcc/jit/jit-builtins.c +++ b/gcc/jit/jit-builtins.c @@ -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: diff --git a/gcc/tree-core.h b/gcc/tree-core.h index 12e0788..f76f68d 100644 --- a/gcc/tree-core.h +++ b/gcc/tree-core.h @@ -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, @@ -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); @@ -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] |