------- Comment #4 from jason at gcc dot gnu dot org 2008-01-22 20:06 ------- That patch looks right to me. This seems to be a bug caused by the deceptive name "gen_type_die" which really should be called something like "gen_main_variant_type_die".
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34895