aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
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/tree.c
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/tree.c')
-rw-r--r--gcc/tree.c3
1 files changed, 2 insertions, 1 deletions
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;