[PATCH] Fix bootstrap failure when '--enable-checking' is not used
Diego Novillo
dnovillo@google.com
Tue May 26 23:13:00 GMT 2009
2009/5/26 Art Haas <ahaas@impactweather.com>:
> --- a/gcc/tree-ssa-copy.c
> +++ b/gcc/tree-ssa-copy.c
> @@ -160,9 +160,9 @@ 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
OK with an appropriate ChangeLog entry.
Diego.
More information about the Gcc-patches
mailing list