diff options
author | Jeff Law <law@redhat.com> | 2013-09-10 06:29:58 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2013-09-10 06:29:58 -0600 |
commit | 581aedec91ca246f52469d349fbd7664d17d6dc2 (patch) | |
tree | a528f05814b7721c32a5846b1aa61eacc0b393d4 /gcc/tree-ssa-threadedge.c | |
parent | 84cf4ab655292038d1371a801cbffb9fc6b6ecd0 (diff) | |
download | gcc-581aedec91ca246f52469d349fbd7664d17d6dc2.zip gcc-581aedec91ca246f52469d349fbd7664d17d6dc2.tar.gz gcc-581aedec91ca246f52469d349fbd7664d17d6dc2.tar.bz2 |
re PR tree-optimization/58343 (ICE in dfs_enumerate_from, at cfganal.c:1036)
PR tree-optimization/58343
* tree-ssa-threadupdate.c (thread_block): Identify and disable
jump threading requests through loop headers buried in the middle
of a jump threading path.
* tree-ssa-threadedge.c (thread_around_empty_blocks): Fix thinko
in return value/type.
* gcc.c-torture/compile/pr58343.c: New test.
From-SVN: r202441
Diffstat (limited to 'gcc/tree-ssa-threadedge.c')
-rw-r--r-- | gcc/tree-ssa-threadedge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-threadedge.c b/gcc/tree-ssa-threadedge.c index f2051d7..14bc4e3 100644 --- a/gcc/tree-ssa-threadedge.c +++ b/gcc/tree-ssa-threadedge.c @@ -764,7 +764,7 @@ thread_around_empty_blocks (edge taken_edge, when threading. Thus they can not have visible side effects such as PHI nodes. */ if (!gsi_end_p (gsi_start_phis (bb))) - return NULL; + return false; /* Skip over DEBUG statements at the start of the block. */ gsi = gsi_start_nondebug_bb (bb); |