diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-01-06 23:05:03 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-01-06 23:05:03 +0100 |
commit | b71d7f850741e4fa3b002d0a6a2289638e7bbda3 (patch) | |
tree | b22820e3ebf42bb7a98622e72dc30bf3875df69d /gcc | |
parent | 4ee2f8308a5ff5205738cda31d3dd4e2b1427148 (diff) | |
download | gcc-b71d7f850741e4fa3b002d0a6a2289638e7bbda3.zip gcc-b71d7f850741e4fa3b002d0a6a2289638e7bbda3.tar.gz gcc-b71d7f850741e4fa3b002d0a6a2289638e7bbda3.tar.bz2 |
re PR gcov-profile/50127 (g++.dg/tree-prof/partition2.C FAILs on several targets)
PR gcov-profile/50127
* bb-reorder.c (partition_hot_cold_basic_blocks): Call
clear_aux_for_blocks.
From-SVN: r182973
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/bb-reorder.c | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c65a6a..9cf3dbc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index 017c205..a35b8e6 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -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. |