------- Comment #33 from rguenth at gcc dot gnu dot org 2009-07-24 17:14 ------- Yeah, it's caused by the change. We don't generate a real proper copy (we don't copy the fields so their context is wrong). Previously only a single debug-info copy was emitted via using TYPE_MAIN_VARIANT.
We can work around this by also doing TYPE_MAIN_VARIANT (fat_type) = base_type; though that's a bit hairy ... (does it still solve your oroginal problem then?) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40005