This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: [PATCH] Fix PR 32915 dllimport regression


2007-07-28 Danny Smith <dannysmith@users.sourcforge.net>

	PR target/32915
	* config/i386/i386.c (get_dllimport_decl):
SET_DECL_ASSEMBLER_NAME
	of the generated dllimport decl.

Thanks a lot for providing a patch so quickly!


(As an aside why are you using a pthread_once weakref on mingw32?)

It appears on my build for mingw + pthreads-win32; libgfortran/io/ io.h includes gthr.h, which in turns include gthr-posix.h. The only functions used are then __gthread_mutex_lock and __gthread_mutex_unlock, to make the I/O library (and the random number generator) thread-safe (courtesy of Jakub Jelinek).


FX


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