aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2014-10-27 14:54:42 -0400
committerDJ Delorie <dj@gcc.gnu.org>2014-10-27 14:54:42 -0400
commit949bba26ff6b6f0402ed4574b4dbc2353b6509ed (patch)
treedeff3030adfc66b505133f89b4a43f7a8b72dace /gcc
parente4d1b49512146579605e588402d6739ae53626f5 (diff)
downloadgcc-949bba26ff6b6f0402ed4574b4dbc2353b6509ed.zip
gcc-949bba26ff6b6f0402ed4574b4dbc2353b6509ed.tar.gz
gcc-949bba26ff6b6f0402ed4574b4dbc2353b6509ed.tar.bz2
tree.c (build_common_tree_nodes): Don't even store the __int128 types if they're not supported.
* tree.c (build_common_tree_nodes): Don't even store the __int128 types if they're not supported. From-SVN: r216762
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2c7550a..19931d5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-27 DJ Delorie <dj@redhat.com>
+
+ * tree.c (build_common_tree_nodes): Don't even store the
+ __int128 types if they're not supported.
+
2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
* config/i386/i386.c (ix86_loop_memcount): Delete.
diff --git a/gcc/tree.c b/gcc/tree.c
index 3f60fd8..02a7304 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -9629,7 +9629,8 @@ build_common_tree_nodes (bool signed_char, bool short_double)
TYPE_SIZE (int_n_trees[i].signed_type) = bitsize_int (int_n_data[i].bitsize);
TYPE_SIZE (int_n_trees[i].unsigned_type) = bitsize_int (int_n_data[i].bitsize);
- if (int_n_data[i].bitsize > LONG_LONG_TYPE_SIZE)
+ if (int_n_data[i].bitsize > LONG_LONG_TYPE_SIZE
+ && int_n_enabled_p[i])
{
integer_types[itk_intN_0 + i * 2] = int_n_trees[i].signed_type;
integer_types[itk_unsigned_intN_0 + i * 2] = int_n_trees[i].unsigned_type;