[Bug libfortran/43849] Add _gfortran_finalize function to close down the library

2015-09-03 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43849 Francois-Xavier Coudert changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug libfortran/43849] Add _gfortran_finalize function to close down the library

2015-09-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43849 --- Comment #9 from Dominique d'Humieres --- > IMHO, no there isn't a real use case for exporting the cleanup() function. Does it mean that this PR could be closed? FIXED or WONTFIX?

[Bug libfortran/43849] Add _gfortran_finalize function to close down the library

2015-09-03 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43849 --- Comment #8 from Janne Blomqvist --- (In reply to Dominique d'Humieres from comment #7) > > So, to summarize: we already have a finalization function, cleanup(). > > Should we export it? I am not so sure, unless we have a real use case. > > C

[Bug libfortran/43849] Add _gfortran_finalize function to close down the library

2015-09-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43849 Dominique d'Humieres changed: What|Removed |Added Blocks||37336 --- Comment #7 from Dominiq

[Bug libfortran/43849] Add _gfortran_finalize function to close down the library

2015-08-24 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43849 --- Comment #6 from Francois-Xavier Coudert --- (In reply to Tobias Burnus from comment #0) > Currently, _gfortran_abort calls: > close_units (); > Additionally, one should call: > flush_all_units (); close_units() actually flushes all units