From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1735 invoked by alias); 7 Feb 2008 06:27:30 -0000 Received: (qmail 1626 invoked by uid 48); 7 Feb 2008 06:26:47 -0000 Date: Thu, 07 Feb 2008 06:27:00 -0000 Message-ID: <20080207062647.1625.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/35063] [Regression wrt g77] I/O leaks handles/memory on Windows XP In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kargl at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-02/txt/msg00772.txt.bz2 ------- Comment #15 from kargl at gcc dot gnu dot org 2008-02-07 06:26 ------- (In reply to comment #14) > Yes this is a regression wrt g77 and I have noted this in the summary. I have > attempted to insert a mutex_unlock in the right place and it has no effect. I > think jpr's assessment is correct, there needs to be a close_handle call > somewhere in the code path. There is no close_handle call in gthr-win32.c > It's not a regression wrt to g77 because g77 isn't thread safe. In fact, if comment #11 is accurate, this isn't a libgfortran bug. It's a target bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35063