This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug tree-optimization/32705] [4.3 regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022
- From: "Daniel Berlin" <dberlin at dberlin dot org>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Jul 2007 18:20:48 -0400
- Subject: Re: [Bug tree-optimization/32705] [4.3 regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1022
- References: <bug-32705-10053@http.gcc.gnu.org/bugzilla/> <20070711201010.30572.qmail@sourceware.org>
The only way i can see this happening is if you have a truly
uninitialized variable, or there is something we have missed.
Does this function have cfun->static_chain_decl being used, and we
have a copy of that here?
It is theoretically safe to call set_ssa_to_val with to == vn_top, but
it's probably a bug somewhere, and i'd rather eliminate the bug cases
before turning it off.
On 11 Jul 2007 20:10:10 -0000, ebotcazou at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-07-11 20:10 -------
> Can someone paste the output of debug_generic_stmt (to) and
> debug_tree(to) at the point of failure?
(gdb) p debug_tree(to)
<var_decl 0x557f7114 vn_top.181
type <void_type 0x55716804 void sizes-gimplified visited VOID
align 8 symtab 0 alias set 36 canonical type 0x55716804
pointer_to_this <pointer_type 0x55716870>>
used ignored VOID file ../c87b26b.adb line 4
align 8>
$4 = void
(gdb) p debug_generic_stmt(to)
vn_top.181
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32705