re PR c++/32609 (ICE in htab_clear_slot at libiberty/hashtab.c:722)
2007-07-03 Richard Guenther <rguenther@suse.de> PR c++/32609 * class.c (fixed_type_or_null): Re-lookup the hashtable slot after recursing. From-SVN: r126262
This commit is contained in:
parent
6ba6728370
commit
e656a4656e
@ -1,3 +1,9 @@
|
||||
2007-07-03 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR c++/32609
|
||||
* class.c (fixed_type_or_null): Re-lookup the hashtable slot
|
||||
after recursing.
|
||||
|
||||
2007-07-02 Simon Baldwin <simonb@google.com>
|
||||
|
||||
* parser.c (cp_parser_elaborated_type_specifier): Added a warning
|
||||
|
@ -5377,7 +5377,7 @@ fixed_type_or_null (tree instance, int *nonnull, int *cdtorp)
|
||||
slot = htab_find_slot (ht, instance, INSERT);
|
||||
*slot = instance;
|
||||
type = RECUR (DECL_INITIAL (instance));
|
||||
htab_clear_slot (ht, slot);
|
||||
htab_remove_elt (ht, instance);
|
||||
|
||||
return type;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user