https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70935
--- Comment #6 from Ilya Enkovich <ienkovich at gcc dot gnu.org> --- Author: ienkovich Date: Tue May 10 14:26:37 2016 New Revision: 236081 URL: https://gcc.gnu.org/viewcvs?rev=236081&root=gcc&view=rev Log: gcc/ 2016-05-10 Yuri Rumyantsev <ysrum...@gmail.com> Backport from mainline r235962. 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-10 Yuri Rumyantsev <ysrum...@gmail.com> Backport from mainline r235962. 2016-05-06 Yuri Rumyantsev <ysrum...@gmail.com> PR debug/70935 * gcc.dg/torture/pr70935.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr70935.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-ssa-loop-unswitch.c