[trans-mem] COMMITTED: fix thinko in ipa_tm_scan_irr_function

Submitted by Aldy Hernandez on Feb. 3, 2011, 5:40 p.m.

Details

Message ID 4D4AE89E.2080705@redhat.com
State New
Headers show

Commit Message

Aldy Hernandez Feb. 3, 2011, 5:40 p.m.
Obvious.

         * trans-mem (ipa_tm_scan_irr_function): Make sure we have bitmap
         before we dump it.

Patch hide | download patch | download mbox

Index: trans-mem.c
===================================================================
--- trans-mem.c (revision 169796)
+++ trans-mem.c (working copy)
@@ -3838,7 +3838,7 @@  ipa_tm_scan_irr_function (struct cgraph_
        else
         d->irrevocable_blocks_normal = new_irr;

-      if (dump_file)
+      if (dump_file && new_irr)
         {
           const char *dname;
           bitmap_iterator bmi;