c++/10139: g++ 3.4 ICE --- memory overwrite/allocation problem?
snyder
snyder@fnal.gov
Wed Mar 19 08:51:00 GMT 2003
hi -
This crash seems to be related to this change to libiberty/hashtab.c:
2003-12-03 Jan Hubicka <jh@suse.cz>
* hashtab.c (htab_expand): Fix warning.
* hashtab.c (htab_expand): Compute the size of hashtable based
on the number of elements actually used.
(htab_traverse): Call htab_expand when table is too empty.
If i back out that change, then the problem goes away for my
testcase, as well as for the original source from which
i extracted it.
In addition, since sending this report, i've run into a couple
other similar, mysterious SEGVs in gcc; reverting this change
fixes those crashes too.
sss
More information about the Gcc-bugs
mailing list