[Bug fortran/40005] segfault in gt_ggc_mx_lang_tree_node

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 24 17:14:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list