This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/22483] [4.1 Regression] ICE : tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:466
- From: "dberlin at dberlin dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2005 20:53:21 -0000
- Subject: [Bug tree-optimization/22483] [4.1 Regression] ICE : tree check: expected ssa_name, have var_decl in is_old_name, at tree-into-ssa.c:466
- References: <20050714122637.22483.sylvain.pion@sophia.inria.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dberlin at gcc dot gnu dot org 2005-07-15 20:53 -------
Subject: Re: [4.1 Regression] ICE : tree
check: expected ssa_name, have var_decl in is_old_name, at
tree-into-ssa.c:466
On Fri, 2005-07-15 at 20:39 +0000, pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-15 20:39 -------
> Here is the backtrace:
> #0 internal_error (gmsgid=0xb7eb64 "tree check: %s, have %s in %s, at %s:%d") at ../../gcc/
> diagnostic.c:534
> #1 0x008f46c0 in tree_check_failed (node=0x4bf6d20, file=0xb54ecc "../../gcc/tree-into-ssa.c",
> line=466, function=0xbc3e38 "is_old_name") at ../../gcc/tree.c:5778
> #2 0x0031548c in is_old_name (name=0x4bf6d20) at ../../gcc/tree-into-ssa.c:466
> #3 0x00315b38 in maybe_replace_use (use_p=0x4b77bd8) at ../../gcc/tree-into-ssa.c:1383
> #4 0x0031592c in rewrite_update_stmt (walk_data=0xbffff3e8, bb=0x474e3f0, si={tsi = {ptr =
> 0x2ecc400, container = 0x433ee40}, bb = 0x474e3f0}) at ../../gcc/tree-into-ssa.c:1471
> #5 0x0035e01c in walk_dominator_tree (walk_data=0xbffff3e8, bb=0x474e3f0) at ../../gcc/
> domwalk.c:196
> #6 0x0035e0dc in walk_dominator_tree (walk_data=0xbffff3e8, bb=0x474e230) at ../../gcc/
> domwalk.c:212
> #7 0x00316274 in rewrite_blocks (entry=0x474e230, what=REWRITE_UPDATE, blocks=0x2b06bc0) at
> ../../gcc/tree-into-ssa.c:1617
> #8 0x0031a6e4 in update_ssa (update_flags=128) at ../../gcc/tree-into-ssa.c:2799
>
>
> We have a SFT at this point. For some reason symbol_marked_for_renaming (sym) is returning 0 which
> is wrong.
>
>
I suspect this is a hashtable traversal issue.
We'll see.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22483