This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65851] ice in set_lattice_value at tree-ssa-cc p.c:535
- 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: Thu, 23 Apr 2015 09:31:47 +0000
- Subject: [Bug c++/65851] ice in set_lattice_value at tree-ssa-cc p.c:535
- Auto-submitted: auto-generated
- References: <bug-65851-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65851
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
We are transitioning from known-bits (likely alignment) to an invariant (thus
constant). Most of the cases this happens because of too weak UNDEFINED
handling.
I suppose we should finally punt in making that "correct" and simply drop that
lattice transition... (we already to sth similar for known-bits to
known-bits).
The assert is really there to catch this kind of missed optimizations, in
theory
we can just reject invalid transitions...