tree-vect-patterns.c (vect_pattern_recog_1): Add stmts_to_replace argument...
[gcc.git] / gcc / ChangeLog
index a3cd40470894117a289bd261ab2f8e8b8d3aa800..4e459f40a8ff67a97f080a419eb334443abd7c21 100644 (file)
@@ -1,3 +1,11 @@
+2011-10-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree-vect-patterns.c (vect_pattern_recog_1): Add stmts_to_replace
+       argument, truncate it at the beginning instead of allocating there
+       and freeing at the end.
+       (vect_pattern_recog): Allocate stmts_to_replace here and free at end,
+       pass its address to vect_pattern_recog_1.
+
 2011-10-05  David S. Miller  <davem@davemloft.net>
 
        * config/sparc/sparc.opt (POPC): New option.