https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65048
--- Comment #7 from Yvan Roux <yroux at gcc dot gnu.org> --- Author: yroux Date: Wed Oct 28 09:00:47 2015 New Revision: 229478 URL: https://gcc.gnu.org/viewcvs?rev=229478&root=gcc&view=rev Log: gcc/ 2015-10-28 Yvan Roux <yvan.r...@linaro.org> Sebastian Pop <s....@samsung.com> Backport from trunk r221007, r221675, r222011. 2015-04-11 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/65735 * tree-ssa-threadedge.c (fsm_find_control_statement_thread_paths): Remove visited_phis argument, add visited_bbs, avoid recursing into the same bb rather than just into the same phi node. (thread_through_normal_block): Adjust caller. 2015-03-25 Sebastian Pop <s....@samsung.com> PR tree-optimization/65177 * tree-ssa-threadupdate.c (verify_seme): Renamed verify_jump_thread. (bb_in_bbs): New. (duplicate_seme_region): Renamed duplicate_thread_path. Redirect all edges not adjacent on the path to the original code. 2015-02-26 Sebastian Pop <s....@samsung.com> PR tree-optimization/65048 * tree-ssa-threadupdate.c (valid_jump_thread_path): New. (thread_through_all_blocks): Call valid_jump_thread_path. Remove invalid FSM jump-thread paths. gcc/testsuite/ 2015-10-28 Yvan Roux <yvan.r...@linaro.org> Sebastian Pop <s....@samsung.com> Backport from trunk r221007, r221675, r222011. 2015-04-11 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/65735 * gcc.c-torture/compile/pr65735.c: New test. 2015-03-25 Sebastian Pop <s....@samsung.com> PR tree-optimization/65177 * gcc.dg/tree-ssa/ssa-dom-thread-10.c: New. 2015-02-26 Sebastian Pop <s....@samsung.com> PR tree-optimization/65048 * gcc.dg/tree-ssa/ssa-dom-thread-9.c: New. Added: branches/linaro/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/compile/pr65735.c branches/linaro/gcc-4_9-branch/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-10.c branches/linaro/gcc-4_9-branch/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-9.c Modified: branches/linaro/gcc-4_9-branch/gcc/ChangeLog.linaro branches/linaro/gcc-4_9-branch/gcc/testsuite/ChangeLog.linaro branches/linaro/gcc-4_9-branch/gcc/tree-ssa-threadedge.c branches/linaro/gcc-4_9-branch/gcc/tree-ssa-threadupdate.c