This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/47566] ICE in vn_reference_lookup
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 1 Feb 2011 12:12:16 +0000
- Subject: [Bug middle-end/47566] ICE in vn_reference_lookup
- Auto-submitted: auto-generated
- References: <bug-47566-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu.org
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-01 12:12:13 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > I think we need source code (LTO bytecode isn't really portable).
>
> oops... that's building CP2K. Let me see if I can reproduce this with this
> night's tarball.
>
> >
> > (gdb) call debug_tree (vuse)
> >
> > at that point?
>
> (gdb) call debug_tree (vuse)
> <var_decl 0x7ffff532eb40 .MEM
> type <void_type 0x7ffff7e84d20 void VOID
> align 8 symtab 0 alias set -1 structural equality
> pointer_to_this <pointer_type 0x7ffff7e84dc8>>
> used static external VOID file <built-in> line 0 col 0
> align 8>
That's indeed invalid - it should be an SSA name. This means some
earlier pass messed up (or PRE itself). The bug shouldn't depend
on LTO (apart from maybe requiring some cross-module inlining to trigger).