From: Jan Hubicka Date: Thu, 8 Feb 2007 09:56:34 +0000 (+0100) Subject: value-prof.c (visit_hist, free_hist): Return 1 instead of 0. X-Git-Tag: releases/gcc-4.3.0~6953 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=674474a525cfedbebb3580b78a008e01c6ff226e;p=thirdparty%2Fgcc.git 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 From-SVN: r121711 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34abb3be7efa..5c7d0c8503eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-02-07 Jan Hubicka + Robert Kidd + + * value-prof.c (visit_hist, free_hist): Return 1 instead of 0. + 2007-02-07 Ian Lance Taylor * lower-subreg.c (simple_move): Reject PARTIAL_INT modes. diff --git a/gcc/value-prof.c b/gcc/value-prof.c index b03e6777ae8f..2de51f63be1d 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