* emit-rtl.c (widen_memory_access): Only call compare_tree_int
if DECL_SIZE_UNIT is INTEGER_CST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53748
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-05-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/6643
+ * emit-rtl.c (widen_memory_access): Only call compare_tree_int
+ if DECL_SIZE_UNIT is INTEGER_CST.
+
2002-05-22 Richard Henderson <rth@redhat.com>
* flow.c (life_analysis): Delete broken reg_label check.
/* Similarly for the decl. */
else if (DECL_P (expr)
&& DECL_SIZE_UNIT (expr)
+ && TREE_CODE (DECL_SIZE_UNIT (expr)) == INTEGER_CST
&& compare_tree_int (DECL_SIZE_UNIT (expr), size) >= 0
&& (! memoffset || INTVAL (memoffset) >= 0))
break;