re PR middle-end/65048 (ICE in add_phi_args_after_copy_edge, at tree-cfg.c)
authorSebastian Pop <s.pop@samsung.com>
Thu, 26 Feb 2015 13:56:39 +0000 (13:56 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 26 Feb 2015 13:56:39 +0000 (06:56 -0700)
commitae762b31c4d775283ecbd629ba904b7ab9e600b4
treece4b757be7776f3330ed6156248bb1ada1caf074
parentdb847fa8f2cca6139188b8dfa0a7064319b19193
re PR middle-end/65048 (ICE in add_phi_args_after_copy_edge, at tree-cfg.c)

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.

PR tree-optimization/65048
* gcc.dg/tree-ssa/ssa-dom-thread-9.c: New.

From-SVN: r221007
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-9.c [new file with mode: 0644]
gcc/tree-ssa-threadupdate.c