* gimple-fold.c (gimple_fold_stmt_to_constant_1): Avoid warning.
From-SVN: r186202
This commit is contained in:
parent
a0806f33ad
commit
d25c4172fb
|
@ -1,3 +1,7 @@
|
|||
2012-04-06 Mike Stump <mikestump@comcast.net>
|
||||
|
||||
* gimple-fold.c (gimple_fold_stmt_to_constant_1): Avoid warning.
|
||||
|
||||
2012-04-06 Oleg Endo <olegendo@gcc.gnu.org>
|
||||
|
||||
* config/sh/sh.c (hi_const): Remove.
|
||||
|
|
|
@ -2427,7 +2427,7 @@ gimple_fold_stmt_to_constant_1 (gimple stmt, tree (*valueize) (tree))
|
|||
else if (TREE_CODE (rhs) == ADDR_EXPR
|
||||
&& !is_gimple_min_invariant (rhs))
|
||||
{
|
||||
HOST_WIDE_INT offset;
|
||||
HOST_WIDE_INT offset = 0;
|
||||
tree base;
|
||||
base = get_addr_base_and_unit_offset_1 (TREE_OPERAND (rhs, 0),
|
||||
&offset,
|
||||
|
|
Loading…
Reference in New Issue