This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/59154] [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Nov 2013 13:14:27 +0000
- Subject: [Bug tree-optimization/59154] [4.9 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst
- Auto-submitted: auto-generated
- References: <bug-59154-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59154
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yeah. I think all passes aren't required to fold everything they create, and
unlike RTL where say comparison of two CONST_INTs is invalid IL, having binary
operation with two constants is valid GIMPLE.
So I'd say simplify_conversion_from_bitmask should either not be called if the
argument isn't SSA_NAME, or check whether it is SSA_NAME and fail if it is not.
IMHO later passes should optimize it properly.