rs6000.c (rs6000_density_test): Free loop body.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 23 Aug 2012 14:41:24 +0000 (14:41 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Thu, 23 Aug 2012 14:41:24 +0000 (14:41 +0000)
2012-08-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rs6000_density_test): Free loop body.

From-SVN: r190622

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index c43ee194452d37a1ba35c29a46f9c94ee7088aca..f7e964595dc167b455e1dac59d712a0169fa3672 100644 (file)
@@ -1,3 +1,7 @@
+2012-08-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       * config/rs6000/rs6000.c (rs6000_density_test): Free loop body.
+
 2012-08-23  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR driver/54335
index 9a0a2ff38a778058e12fef1221f5d10ec4be41d0..6c58307a60f7bb8f12df443f9693be89e4b53b16 100644 (file)
@@ -3510,6 +3510,7 @@ rs6000_density_test (rs6000_cost_data *data)
        }
     }
 
+  free (bbs);
   density_pct = (vec_cost * 100) / (vec_cost + not_vec_cost);
 
   if (density_pct > DENSITY_PCT_THRESHOLD