diff options
-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 905dc1c54ed..8cf9313d8ff 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 fac5b296af2..763cbe51741 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); } |