From: Richard Henderson Date: Fri, 22 Jul 2011 23:54:29 +0000 (-0700) Subject: * bb-reorder.c (gate_handle_partition_blocks): Honor optimize. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=295331a41988c2ecd818ba80f23c790e292fb296;p=gcc.git * bb-reorder.c (gate_handle_partition_blocks): Honor optimize. From-SVN: r176664 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 905dc1c54ed..8cf9313d8ff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-07-22 Richard Henderson + + * bb-reorder.c (gate_handle_partition_blocks): Honor optimize. + 2011-07-22 Richard Henderson * jump.c (maybe_propagate_label_ref): Split out of... 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); }