diff options
author | Jan Hubicka <jh@suse.cz> | 2007-02-08 10:56:34 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2007-02-08 09:56:34 +0000 |
commit | 674474a525cfedbebb3580b78a008e01c6ff226e (patch) | |
tree | a17874068ad233b00c1794a75fd882539e406fb6 | |
parent | 822f505b75eaa2a7a35481af4c8a76c8f87eba5e (diff) | |
download | gcc-674474a525cfedbebb3580b78a008e01c6ff226e.zip gcc-674474a525cfedbebb3580b78a008e01c6ff226e.tar.gz gcc-674474a525cfedbebb3580b78a008e01c6ff226e.tar.bz2 |
value-prof.c (visit_hist, free_hist): Return 1 instead of 0.
* value-prof.c (visit_hist, free_hist): Return 1 instead of 0.
Co-Authored-By: Robert Kidd <rkidd@crhc.uiuc.edu>
From-SVN: r121711
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/value-prof.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34abb3b..5c7d0c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-02-07 Jan Hubicka <jh@suse.cz> + Robert Kidd <rkidd@crhc.uiuc.edu> + + * value-prof.c (visit_hist, free_hist): Return 1 instead of 0. + 2007-02-07 Ian Lance Taylor <iant@google.com> * lower-subreg.c (simple_move): Reject PARTIAL_INT modes. diff --git a/gcc/value-prof.c b/gcc/value-prof.c index b03e677..2de51f6 100644 --- a/gcc/value-prof.c +++ b/gcc/value-prof.c @@ -354,7 +354,7 @@ visit_hist (void **slot, void *data) debug_generic_stmt (hist->hvalue.stmt); error_found = true; } - return 0; + return 1; } /* Verify sanity of the histograms. */ @@ -406,7 +406,7 @@ free_hist (void **slot, void *data ATTRIBUTE_UNUSED) memset (hist, 0xab, sizeof (*hist)); #endif free (hist); - return 0; + return 1; } void |