This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix bootstrap failure when '--enable-checking' is not used


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]