OSDN Git Service

* value-prof.c (visit_hist, free_hist): Return 1 instead of 0.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Feb 2007 09:56:34 +0000 (09:56 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Feb 2007 09:56:34 +0000 (09:56 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121711 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/value-prof.c

index 34abb3b..5c7d0c8 100644 (file)
@@ -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.
 2007-02-07  Ian Lance Taylor  <iant@google.com>
 
        * lower-subreg.c (simple_move): Reject PARTIAL_INT modes.
index b03e677..2de51f6 100644 (file)
@@ -354,7 +354,7 @@ visit_hist (void **slot, void *data)
       debug_generic_stmt (hist->hvalue.stmt);
       error_found = true;
     }
       debug_generic_stmt (hist->hvalue.stmt);
       error_found = true;
     }
-  return 0;
+  return 1;
 }
 
 /* Verify sanity of the histograms.  */
 }
 
 /* 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);
   memset (hist, 0xab, sizeof (*hist));
 #endif
   free (hist);
-  return 0;
+  return 1;
 }
 
 void
 }
 
 void