diff options
author | Richard Henderson <rth@redhat.com> | 2011-07-22 16:54:29 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-07-22 16:54:29 -0700 |
commit | 295331a41988c2ecd818ba80f23c790e292fb296 (patch) | |
tree | bd4b65a487950d3be1edea36602d109f08a019c6 /gcc | |
parent | 5f93b30abd3d9f419029bce57f8a0372bdf0ec65 (diff) | |
download | gcc-295331a41988c2ecd818ba80f23c790e292fb296.zip gcc-295331a41988c2ecd818ba80f23c790e292fb296.tar.gz gcc-295331a41988c2ecd818ba80f23c790e292fb296.tar.bz2 |
* bb-reorder.c (gate_handle_partition_blocks): Honor optimize.
From-SVN: r176664
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/bb-reorder.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 905dc1c..8cf9313 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2011-07-22 Richard Henderson <rth@redhat.com> + * bb-reorder.c (gate_handle_partition_blocks): Honor optimize. + +2011-07-22 Richard Henderson <rth@redhat.com> + * jump.c (maybe_propagate_label_ref): Split out of... (mark_all_labels): ... here. Do not attempt label_ref propagation while in cfglayout mode. diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index fac5b29..763cbe5 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -2212,6 +2212,7 @@ gate_handle_partition_blocks (void) user defined section attributes. Don't call it if either case arises. */ return (flag_reorder_blocks_and_partition + && optimize && !DECL_ONE_ONLY (current_function_decl) && !user_defined_section_attribute); } |