[Bug fortran/40005] segfault in gt_ggc_mx_lang_tree_node

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jul 25 13:45:00 GMT 2009



------- Comment #38 from rguenth at gcc dot gnu dot org  2009-07-25 13:45 -------
Subject: Bug 40005

Author: rguenth
Date: Sat Jul 25 13:44:57 2009
New Revision: 150079

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150079
Log:
2009-07-25  Richard Guenther  <rguenther@suse.de>

        PR fortran/40005
        * trans-types.c (gfc_get_array_type_bounds): Use
        build_distinct_type_copy with a proper TYPE_CANONICAL and
        re-use the type-decl of the original type.
        * trans-decl.c (build_entry_thunks): Signal cgraph we may not
        garbage collect.
        (create_main_function): Likewise.
        (gfc_generate_function_code): Likewise.
        * trans-expr.c (gfc_trans_subcomponent_assign): Do not use
        fold_convert on record types.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/fortran/trans-types.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40005



More information about the Gcc-bugs mailing list