[Bug gcov-profile/30650] [4.3 Regression] ICE with -fprofile-use

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Feb 3 21:51:00 GMT 2007



------- Comment #5 from rguenth at gcc dot gnu dot org  2007-02-03 21:51 -------
      size = ((histogram->hvalue.counters[0]
              + histogram->hvalue.counters[0] / 2)
-              / histogram->hvalue.counters[0]);
+              / histogram->hvalue.counters[1]);

micha suggested you meant 

      size = ((histogram->hvalue.counters[0]
              + histogram->hvalue.counters[1] / 2)
               / histogram->hvalue.counters[1]);

(upward rounding)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30650



More information about the Gcc-bugs mailing list