This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libiberty] PR rtl-optimization/28071 (fix empty_hash)
- From: DJ Delorie <dj at redhat dot com>
- To: jh at suse dot cz
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 27 Jul 2006 12:28:10 -0400
- Subject: Re: [libiberty] PR rtl-optimization/28071 (fix empty_hash)
- References: <20060727071209.GP20536@kam.mff.cuni.cz>
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!