mirror of git://gcc.gnu.org/git/gcc.git
loop-unroll.c (report_unroll_peel): Check decision before emitting unroll/peel message.
2013-05-15 Teresa Johnson <tejohnson@google.com>
* loop-unroll.c (report_unroll_peel): Check decision before
emitting unroll/peel message.
From-SVN: r198936
This commit is contained in:
parent
af205f678d
commit
ad4db775e2
|
|
@ -1,3 +1,8 @@
|
|||
2013-05-15 Teresa Johnson <tejohnson@google.com>
|
||||
|
||||
* loop-unroll.c (report_unroll_peel): Check decision before
|
||||
emitting unroll/peel message.
|
||||
|
||||
2013-05-15 Teresa Johnson <tejohnson@google.com>
|
||||
|
||||
* function.h (has_bb_partition): New rtl_data flag.
|
||||
|
|
|
|||
|
|
@ -212,6 +212,9 @@ report_unroll_peel (struct loop *loop, location_t locus)
|
|||
int niters = 0;
|
||||
int report_flags = MSG_OPTIMIZED_LOCATIONS | TDF_RTL | TDF_DETAILS;
|
||||
|
||||
if (loop->lpt_decision.decision == LPT_NONE)
|
||||
return;
|
||||
|
||||
if (!dump_enabled_p ())
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue