diff options
author | Segher Boessenkool <segher@gcc.gnu.org> | 2015-11-09 04:57:19 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2015-11-09 04:57:19 +0100 |
commit | d4c8d5ede1f35643163942af46bcb51d3c03c8d7 (patch) | |
tree | 92c30a93ee2301b6249676d7703cf0c1b1f955cc /gcc/objc/objc-encoding.c | |
parent | 4f70cb39c0032dee5caf7b0851556959649895ff (diff) | |
download | gcc-d4c8d5ede1f35643163942af46bcb51d3c03c8d7.zip gcc-d4c8d5ede1f35643163942af46bcb51d3c03c8d7.tar.gz gcc-d4c8d5ede1f35643163942af46bcb51d3c03c8d7.tar.bz2 |
Fix bb-reorder problem with degenerate cond_jump (PR68182)
The code mistakenly thinks any cond_jump has two successors. This is
not true if both destinations are the same, as can happen with weird
patterns as in the PR.
PR rtl-optimization/68182
* gcc/bb-reorder.c (reorder_basic_blocks_simple): Treat a conditional
branch with only one successor just like unconditional branches.
From-SVN: r229983
Diffstat (limited to 'gcc/objc/objc-encoding.c')
0 files changed, 0 insertions, 0 deletions