diff options
| author | tejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-17 22:35:38 +0000 |
|---|---|---|
| committer | tejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-17 22:35:38 +0000 |
| commit | 3b649e5d0060c1933b68a753ae80c543acde7e64 (patch) | |
| tree | 936efe20bc2947bf6a2209d0d143eb195d79b1e0 | |
| parent | af48f0b184090da9bd5bd5f959e2387385f92b8c (diff) | |
| download | ppe42-gcc-3b649e5d0060c1933b68a753ae80c543acde7e64.tar.gz ppe42-gcc-3b649e5d0060c1933b68a753ae80c543acde7e64.zip | |
2013-12-17 Teresa Johnson <tejohnson@google.com>
PR gcov-profile/59527
* cfgrtl.c (fixup_reorder_chain): Handle a region-crossing
branch, which can't be eliminated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206072 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/cfgrtl.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c10c04358d..a90f8af0d80 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-12-17 Teresa Johnson <tejohnson@google.com> + + PR gcov-profile/59527 + * cfgrtl.c (fixup_reorder_chain): Handle a region-crossing + branch, which can't be eliminated. + 2013-12-18 Martin Liska <marxin.liska@gmail.com> Jan Hubicka <jh@suse.cz> diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 1a632498a64..18e65bd6730 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -3736,7 +3736,8 @@ fixup_reorder_chain (void) if (!e_fall) { gcc_assert (!onlyjump_p (bb_end_insn) - || returnjump_p (bb_end_insn)); + || returnjump_p (bb_end_insn) + || (e_taken->flags & EDGE_CROSSING)); emit_barrier_after (bb_end_insn); continue; } |

