tree.c (build_common_tree_nodes): Don't even store the __int128 types if they're...
authorDJ Delorie <dj@redhat.com>
Mon, 27 Oct 2014 18:54:42 +0000 (14:54 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Mon, 27 Oct 2014 18:54:42 +0000 (14:54 -0400)
* tree.c (build_common_tree_nodes): Don't even store the
__int128 types if they're not supported.

From-SVN: r216762

gcc/ChangeLog
gcc/tree.c

index 2c7550a87fd8208115677e82c49fd0a69e995b59..19931d5b6237dab3e1a00a6edf21435361365202 100644 (file)
@@ -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.
index 3f60fd83563201ed116136386deb46bfdf1bcef3..02a73042626002bb7976e8d43f477df60302c04f 100644 (file)
@@ -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;