This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36141] [4.4 Regression]: Gcc 4.4 failed to boostrap
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2008 22:30:56 -0000
- Subject: [Bug middle-end/36141] [4.4 Regression]: Gcc 4.4 failed to boostrap
- References: <bug-36141-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from hjl dot tools at gmail dot com 2008-05-05 22:30 -------
(In reply to comment #8)
> That is:
> Index: gcc/gcc/tree-ssa-forwprop.c
> ===================================================================
> --- gcc/gcc/tree-ssa-forwprop.c (revision 134951)
> +++ gcc/gcc/tree-ssa-forwprop.c (working copy)
> @@ -657,6 +657,9 @@ forward_propagate_addr_expr_1 (tree name
> && TREE_OPERAND (rhs, 0) == name
> && TYPE_SIZE (TREE_TYPE (rhs))
> && TYPE_SIZE (TREE_TYPE (TREE_OPERAND (def_rhs, 0)))
> + /* Function decls should not be used for VCE either as it could be
> + a function descriptor that we want and not the actual function code.
> */
> + && TREE_CODE (TREE_OPERAND (def_rhs, 0)) != FUNCTION_DECL
> /* We should not convert volatile loads to non volatile loads. */
> && !TYPE_VOLATILE (TREE_TYPE (rhs))
> && !TYPE_VOLATILE (TREE_TYPE (TREE_OPERAND (def_rhs, 0)))
>
>
> If you could test that on ia64-linux too, that would be nice.
>
This passed the failed point. I am rebuilding the whole tree now. Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36141