------- Comment #1 from burnus at gcc dot gnu dot org 2010-01-22 17:44 ------- Thanks for the bug report. However, I think this a duplicate of PR 40195 which was fixed 2009-05-22.
Thus, the solution is to use any GCC 4.4.x or 4.5.x newer than 22 May 2009 such as 4.4.1, 4.4.2, or 4.4.3 - or a recent 4.5 experimental version. Comment from the other bug report: "If a module file m.mod already exist, we look into it to check if it's ours; if not, we delete it and write ours. The problem is that the code doing that actually unlinks the file before closing it, which is not allowed on Windows" Thus, a work around is to delete the *.mod file(s) manually before instructing gfortran to (over)write it. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|compiler crashes and asks |compiler crashes and asks |for this bug report |for this bug report http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42848