From 295331a41988c2ecd818ba80f23c790e292fb296 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 22 Jul 2011 16:54:29 -0700 Subject: [PATCH] * bb-reorder.c (gate_handle_partition_blocks): Honor optimize. From-SVN: r176664 --- gcc/ChangeLog | 4 ++++ gcc/bb-reorder.c | 1 + 2 files changed, 5 insertions(+) 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); } -- 2.30.2