This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31550] [regression] f951: segfault in fold-const.c:1963



------- Comment #4 from pault at gcc dot gnu dot org  2007-04-13 05:11 -------
(In reply to comment #3)

> Is this a problem with the backend?

Dream on, Mr Thomas! It's my own patch:

2007-03-18  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/30531
        PR fortran/31086
        * symbo.c : Add gfc_derived_types.
        (gfc_free_dt_list): Free derived type list gfc_derived_types.
        (gfc_free_namespace): Remove call to gfc_free_dt_list.
        (gfc_symbol_done_2): Call  gfc_free_dt_list.
        * gfortran.h : Declare gfc_derived_types to be external. Remove
        derived types field from gfc_namespace.
        * resolve.c (resolve_fl_derived): Refer to gfc_derived types
        rather than namespace derived_types.
        (resolve_fntype): Remove special treatment for module
        derived type functions.
        * trans-types.c (gfc_get_derived_type): Remove search for like
        derived types.  Finish by copying back end declaration to like
        derived types in the derived type list gfc_derived_types.

My bad feeling was warranted.

Paul


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]