]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
decl.c (maybe_pad_type): Use TREE_OVERFLOW instead of TREE_CONSTANT_OVERFLOW.
authorPaolo Bonzini <bonzini@gnu.org>
Mon, 30 Mar 2009 09:29:51 +0000 (09:29 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Mon, 30 Mar 2009 09:29:51 +0000 (09:29 +0000)
2009-03-30  Paolo Bonzini  <bonzini@gnu.org>

        * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW
instead of TREE_CONSTANT_OVERFLOW.

From-SVN: r145287

gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c

index 0b16cae9cce2d6e94744dc96069290fbdcf04024..bdb2c97c9b8cc8cb2930a99fdc30b45f4a8fe360 100644 (file)
@@ -1,3 +1,8 @@
+2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
+
+        * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW
+       instead of TREE_CONSTANT_OVERFLOW.
+
 2009-03-30  Joseph Myers  <joseph@codesourcery.com>
 
        PR rtl-optimization/323
index 0d722f273ea3c345c5facf83dff2fb0e8905145b..5e44c3cef2c701a0f905f491df6df8685de3ec82 100644 (file)
@@ -5949,7 +5949,7 @@ maybe_pad_type (tree type, tree size, unsigned int align,
       && TREE_CODE (type) == RECORD_TYPE
       && TYPE_MODE (type) == BLKmode
       && TREE_CODE (orig_size) == INTEGER_CST
-      && !TREE_CONSTANT_OVERFLOW (orig_size)
+      && !TREE_OVERFLOW (orig_size)
       && compare_tree_int (orig_size, MAX_FIXED_MODE_SIZE) <= 0
       && (!size
          || (TREE_CODE (size) == INTEGER_CST