decl.c (maybe_pad_type): Use TREE_OVERFLOW instead of TREE_CONSTANT_OVERFLOW.

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
This commit is contained in:
Paolo Bonzini 2009-03-30 09:29:51 +00:00 committed by Paolo Bonzini
parent fedc17754e
commit bd9f68e0e5
2 changed files with 6 additions and 1 deletions

View 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

View 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