2012-08-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
authorwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Aug 2012 14:41:24 +0000 (14:41 +0000)
committerwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Aug 2012 14:41:24 +0000 (14:41 +0000)
* config/rs6000/rs6000.c (rs6000_density_test): Free loop body.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190622 138bc75d-0d04-0410-961f-82ee72b054a4

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

index c43ee19..f7e9645 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 9a0a2ff..6c58307 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