https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61684
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Jul 4 08:35:20 2014 New Revision: 212291 URL: https://gcc.gnu.org/viewcvs?rev=212291&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_9-branch/gcc/testsuite/gcc.c-torture/compile/pr61684.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/tree-ssa-ifcombine.c