tree-ssa-copy.c (replace_exp_1): Move op for warning-free use with checking disabled.

2009-05-28  Benjamin Kosnik  <bkoz@redhat.com>

        * tree-ssa-copy.c (replace_exp_1): Move op for warning-free use
        with checking disabled.

From-SVN: r147952
This commit is contained in:
Benjamin Kosnik 2009-05-28 12:28:38 +00:00 committed by Richard Biener
parent cd41d410da
commit 554223b6bd
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-05-28 Benjamin Kosnik <bkoz@redhat.com>
* tree-ssa-copy.c (replace_exp_1): Move op for warning-free use
with checking disabled.
2009-05-28 Dave Korn <dave.korn.cygwin@gmail.com>
PR target/37216

View File

@ -160,9 +160,8 @@ static void
replace_exp_1 (use_operand_p op_p, tree val,
bool for_propagation ATTRIBUTE_UNUSED)
{
tree op = USE_FROM_PTR (op_p);
#if defined ENABLE_CHECKING
tree op = USE_FROM_PTR (op_p);
gcc_assert (!(for_propagation
&& TREE_CODE (op) == SSA_NAME
&& TREE_CODE (val) == SSA_NAME