]> gcc.gnu.org Git - gcc.git/commitdiff
re PR gcov-profile/50127 (g++.dg/tree-prof/partition2.C FAILs on several targets)
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 Jan 2012 22:05:03 +0000 (23:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 6 Jan 2012 22:05:03 +0000 (23:05 +0100)
PR gcov-profile/50127
* bb-reorder.c (partition_hot_cold_basic_blocks): Call
clear_aux_for_blocks.

From-SVN: r182973

gcc/ChangeLog
gcc/bb-reorder.c

index 2c65a6ad0b18dde709e70b49503b9ea60514a623..9cf3dbc35283d4e4db7bbcc49de1737a12fcdb36 100644 (file)
@@ -1,3 +1,9 @@
+2012-01-06  Jakub Jelinek  <jakub@redhat.com>
+
+       PR gcov-profile/50127
+       * bb-reorder.c (partition_hot_cold_basic_blocks): Call
+       clear_aux_for_blocks.
+
 2012-01-06  Alexandre Oliva  <aoliva@redhat.com>
 
        PR debug/51746
index 017c205d08653e70160f3ee72cb26812395b4938..a35b8e62942be478dfea5f9d79921578f3b7be83 100644 (file)
@@ -1,6 +1,6 @@
 /* Basic block reordering routines for the GNU compiler.
-   Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010, 2011,
+   2012 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
@@ -2254,6 +2254,9 @@ partition_hot_cold_basic_blocks (void)
 
   add_reg_crossing_jump_notes ();
 
+  /* Clear bb->aux fields that the above routines were using.  */
+  clear_aux_for_blocks ();
+
   VEC_free (edge, heap, crossing_edges);
 
   /* ??? FIXME: DF generates the bb info for a block immediately.
This page took 0.092275 seconds and 5 git commands to generate.