re PR tree-optimization/70986 (ICE on valid code at -O3 on x86_64-linux-gnu in combin...
authorRichard Biener <rguenther@suse.de>
Thu, 12 May 2016 07:18:58 +0000 (07:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 May 2016 07:18:58 +0000 (07:18 +0000)
commit44ab146a7230d473f0b138abe428e923376d7b53
tree6128def514d0e208db50df8ed14b675c2610e908
parentb5aa474d1e94543a2878bef474dc5c6242711f33
re PR tree-optimization/70986 (ICE on valid code at -O3 on x86_64-linux-gnu in combine_blocks, at tree-if-conv.c:2219)

2016-05-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/70986
* cfganal.c: Include cfgloop.h.
(dfs_find_deadend): Prefer to take edges exiting loops.

* gcc.dg/torture/pr70986-1.c: New testcase.
* gcc.dg/torture/pr70986-2.c: Likewise.
* gcc.dg/torture/pr70986-3.c: Likewise.

From-SVN: r236158
gcc/ChangeLog
gcc/cfganal.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr70986-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr70986-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr70986-3.c [new file with mode: 0644]