summaryrefslogtreecommitdiff
path: root/gcc/bb-reorder.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-06 22:05:03 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-06 22:05:03 +0000
commitb9aec3f5bd919eb395f09da5c7ac54b5cedcbee5 (patch)
treeb22820e3ebf42bb7a98622e72dc30bf3875df69d /gcc/bb-reorder.c
parent385833f2478d6264b8c432c69ccb83af1053d689 (diff)
downloadgcc-b9aec3f5bd919eb395f09da5c7ac54b5cedcbee5.tar.gz
PR gcov-profile/50127
* bb-reorder.c (partition_hot_cold_basic_blocks): Call clear_aux_for_blocks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182973 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r--gcc/bb-reorder.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index 017c205d086..a35b8e62942 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.