This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libiberty] PR rtl-optimization/28071 (fix empty_hash)


This comment is wrong:

> !   /* Instead of clearing megabyte, downsize the table.  */
> !   if (size > 1024*1024)

size is the number of entries, not the size in bytes.  Either the test
needs to scale by sizeof(entry) or the comment needs to be changed.

OK with either change.  Thanks!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]