diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 0b16cae9cce2d6e94744dc96069290fbdcf04024..bdb2c97c9b8cc8cb2930a99fdc30b45f4a8fe360 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -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 diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c index 0d722f273ea3c345c5facf83dff2fb0e8905145b..5e44c3cef2c701a0f905f491df6df8685de3ec82 100644 --- a/gcc/ada/gcc-interface/decl.c +++ b/gcc/ada/gcc-interface/decl.c @@ -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