This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/61684] [4.8/4.9/4.10 Regression] ICE at -Os and above on x86_64-linux-gnu in tree check: expected ssa_name, have addr_expr in recognize_single_bit_test, at tree-ssa-ifcombine.c:238


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61684

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jul  4 08:37:39 2014
New Revision: 212292

URL: https://gcc.gnu.org/viewcvs?rev=212292&root=gcc&view=rev
Log:
    PR tree-optimization/61684
    * tree-ssa-ifcombine.c (recognize_single_bit_test): Make sure
    rhs1 of conversion is a SSA_NAME before using SSA_NAME_DEF_STMT on it.

    * gcc.c-torture/compile/pr61684.c: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/compile/pr61684.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_8-branch/gcc/tree-ssa-ifcombine.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]