https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70935
--- Comment #5 from Ilya Enkovich <ienkovich at gcc dot gnu.org> --- Author: ienkovich Date: Fri May 6 12:07:25 2016 New Revision: 235962 URL: https://gcc.gnu.org/viewcvs?rev=235962&root=gcc&view=rev Log: gcc/ 2016-05-06 Yuri Rumyantsev <ysrum...@gmail.com> PR debug/70935 * tree-ssa-loop-unswitch.c (find_loop_guard): Reject guard edge with loop latch destination. gcc/testsuite/ 2016-05-06 Yuri Rumyantsev <ysrum...@gmail.com> PR debug/70935 * gcc.dg/torture/pr70935.c: New test. Added: trunk/gcc/testsuite/gcc.dg/torture/pr70935.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-loop-unswitch.c