aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@redhat.com>2016-02-08 15:36:16 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2016-02-08 15:36:16 +0000
commita011cd929d0a2b08b0e523e23523a567061c8da7 (patch)
tree4d1efbb39a9d10966c886dd48774317c71f0032a /gcc/tree.c
parentc0328be344ba97895486bb1d5486ecb94c8d2d26 (diff)
downloadgcc-a011cd929d0a2b08b0e523e23523a567061c8da7.zip
gcc-a011cd929d0a2b08b0e523e23523a567061c8da7.tar.gz
gcc-a011cd929d0a2b08b0e523e23523a567061c8da7.tar.bz2
Remove -fshort-double
PR target/60410 * tree.c (build_common_tree_nodes): Remove short_double argument. All callers changed. * tree.h (build_common_tree_nodes): Adjust declaration. * doc/invoke.texi (-fshort-double): Remove documentation. * config/mips/t-img-elf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Remove -fshort-double variant. * lto-wrapper.c (merge_and_complain, append_compiler_options, append_linker_options): Don't handle OPT_fshort_double. c-family/ PR target/60410 * c.opt (fshort-double): Remove. testsuite/ PR target/60410 * gcc.dg/lto/pr55113_0.c: Remove test. From-SVN: r233218
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 07cb9d9..1d14583 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -10036,12 +10036,10 @@ build_atomic_base (tree type, unsigned int align)
}
/* Create nodes for all integer types (and error_mark_node) using the sizes
- of C datatypes. SIGNED_CHAR specifies whether char is signed,
- SHORT_DOUBLE specifies whether double should be of the same precision
- as float. */
+ of C datatypes. SIGNED_CHAR specifies whether char is signed. */
void
-build_common_tree_nodes (bool signed_char, bool short_double)
+build_common_tree_nodes (bool signed_char)
{
int i;
@@ -10202,10 +10200,7 @@ build_common_tree_nodes (bool signed_char, bool short_double)
layout_type (float_type_node);
double_type_node = make_node (REAL_TYPE);
- if (short_double)
- TYPE_PRECISION (double_type_node) = FLOAT_TYPE_SIZE;
- else
- TYPE_PRECISION (double_type_node) = DOUBLE_TYPE_SIZE;
+ TYPE_PRECISION (double_type_node) = DOUBLE_TYPE_SIZE;
layout_type (double_type_node);
long_double_type_node = make_node (REAL_TYPE);