------- Comment #3 from baldrick at gcc dot gnu dot org 2010-07-05 19:14 ------- Hi Honza, my original patch was silly, I'm trying this instead:
@@ -7216,7 +7216,7 @@ if (TREE_CODE (orig_type) != METHOD_TYPE || !bitmap_bit_p (args_to_skip, 0)) { - new_type = copy_node (orig_type); + new_type = build_distinct_type_copy (orig_type); TYPE_ARG_TYPES (new_type) = new_reversed; } else -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41355