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



Richard Guenther <rguenth at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |NEW

   Last reconfirmed|                            |2012-09-25

     Ever Confirmed|0                           |1



--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-25 
14:37:55 UTC ---

hashtable collisions are an issue (-O1 -fpermissive, break on htab expand).

The last expansion shows:



Breakpoint 1, get_combined_adhoc_loc (set=0x7ffff7ff9000, 

    locus=<optimized out>, data=<optimized out>)

    at /space/rguenther/tramp3d/trunk/libcpp/line-map.c:139

139                                location_adhoc_data_update, &offset);

(gdb) p *set->location_adhoc_data_map.htab

$16 = {hash_f = 0xef2a50 <location_adhoc_data_hash(void const*)>, 

  eq_f = 0xef2a60 <location_adhoc_data_eq(void const*, void const*)>, 

  del_f = 0x0, entries = 0x221b650, size = 262139, n_elements = 131073, 

  n_deleted = 0, searches = 211955, collisions = 160177370, 

  alloc_f = 0xf1d320 <xcalloc>, free_f = 0x4e0570 <free@plt>, alloc_arg = 0x0, 

  alloc_with_arg_f = 0x0, free_with_arg_f = 0x0, size_prime_index = 15}

Reply via email to