[Bug c/39301] ICE in register_overhead, at bitmap.c:115

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 25 14:11:00 GMT 2009



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-02-25 14:10 -------
/* Store information about each particular bitmap.  */
struct bitmap_descriptor
{
  const char *function;
  const char *file;
  int line;
  int allocated;
  int created;
  int peak;
  int current;
  int nsearches;
};

I guess we simply overflow current.  Using HOST_WIDEST_INT for the counters
would be appropriate.


-- 


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



More information about the Gcc-bugs mailing list