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/54384] gfortran memory leaks


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

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-27 20:54:53 UTC ---
(In reply to comment #4)
> Others still not tested, but doduc.f90 fails with:

This one (and hence all of doduc.f90) - and some of the failures in aermod.f90
are fixed with comment 5.


TODO:

* match_data_constant (mbdx.f90, comment 5)

* gfortran.dg/proc_ptr_result_1.f90 (comment 0)

* aermod.f90:

  by 0x5F0EC7: gfc_new_symbol(char const*, gfc_namespace*) (symbol.c:2569)
  by 0x5F1242: gfc_get_sym_tree(char const*, gfc_namespace*, gfc_symtree**,
bool) (symbol.c:2753)
  by 0x5F12C3: gfc_get_symbol(char const*, gfc_namespace*, gfc_symbol**)
(symbol.c:2807)
  by 0x57184A: gfc_match_formal_arglist(gfc_symbol*, int, int) (decl.c:4462)
 by 0x573E65: gfc_match_subroutine() (decl.c:5655)
-- and --
  by 0x5F0B1E: gfc_get_namespace(gfc_namespace*, int) (symbol.c:2325)
  by 0x5C064E: parse_spec(gfc_statement) (parse.c:2390)
  by 0x5C2318: parse_progunit(gfc_statement) (parse.c:4131)
 Âby 0x5C3243: gfc_parse_file() (parse.c:4579)
-- and --
 by 0x57F00F: gfc_get_expr() (expr.c:49)
  by 0x57F973: gfc_copy_expr(gfc_expr*) (expr.c:272)
  by 0x56BBD4: gfc_assign_data_value(gfc_expr*, gfc_expr*, __mpz_struct*,
__mpz_struct (*) [1]) (data.c:60)
 Âby 0x5D86DB: traverse_data_var(gfc_data_variable*, locus*) (resolve.c:13341)
  by 0x5D8C0D: traverse_data_var(gfc_data_variable*, locus*) (resolve.c:13426)
  by 0x5D9E83: resolve_types(gfc_namespace*) (resolve.c:13525)
-- and --
  some more


* gfortran.dg/g77/cpp6.f:
  by 0x5DE174: preprocessor_line(unsigned int*) (scanner.c:1803)
  by 0x5DE6EA: load_file(char const*, char const*, bool) (scanner.c:2038)
  by 0x5E0422: gfc_new_file() (scanner.c:2106)


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