On Fri, Jan 18, 2013 at 11:04 AM, Cary Coutant <ccout...@google.com> wrote: >> commit dc0b9bc855444332e7a3b1f3473a70ce0c72d66c >> Author: Sterling Augustine <saugust...@google.com> >> Date: Fri Jan 18 10:38:30 2013 -0800 >> >> Fix for Google Ref: b/8028506 >> >> Calling find_AT_string can resize the debug_str hash table, even if the >> string is already present in the hash table--go figure. So after indices >> have been assigned, and the hash table is exactly three-quarters full, >> calling find_AT_string is verboten. >> >> This change moves some calls around such that the above scenario never >> happens, all strings will be found and assigned prior to indices being >> assigned. >> >> M gcc/dwarf2out.c > > OK for google/gcc-4_7. > > I'll be filing an upstream bug for this problem, and I'd like to get > this fix into 4.8 as well. > > -cary
Committed as posted. Thanks. These do need to go into trunk, as they complicate using fission. Sterling