This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix bootstrap failure when '--enable-checking' is not used
- From: Diego Novillo <dnovillo at google dot com>
- To: Art Haas <ahaas at impactweather dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 May 2009 19:13:36 -0400
- Subject: Re: [PATCH] Fix bootstrap failure when '--enable-checking' is not used
- References: <200905261737.n4QHbvDZ000061@impdell3.impactweather.local>
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.