bb-reorder.c
87.1 KB
-
Fix bb-reorder problem with degenerate cond_jump (PR68182) · d4c8d5ed
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
Segher Boessenkool committed