> [for [EMAIL PROTECTED] and [EMAIL PROTECTED] readers, seeshort thread > starting at http://gcc.gnu.org/ml/fortran/2008-01/msg00103.html] > > > Gcc gets the similar problem. It only works without optimization. > It seems not a problem with gfortran. > > OK, then it'd be more appropriate to ask the mingw mailing-list or the > generic gcc@gcc.gnu.org list. > > > GMP version is 4.2.2, and has been modified for x86_64. The > original 4.2.2 does not support x86_64-pc-mingw32. > > Does GMP pass tests? Have you built it with extra checking enabled? I > don't suspect what you're seeing is a GMP problem, but you can never > be too sure.
To have a better chance to find the issue could you anwser these question? a) Does this happens on a cross compiler, too? You can get on via the mingw-w64 pages on sourceforge. b) Which runtime version of mingw-w64 you are using? c) How did you compile gmp? As reference may take a look at http://terpstra.ca/lurker/message/20071208.235835.12a77213.en.html This is a patch for gmp seems to work with mingw-w64 runtime as author tells. > > I do not have gdb for windows for the time being. > > That's why I gave you a download link for MS debuggers (I don't think > gdb is supported on x86_64-mingw32). I'm not sure much can be done > without a debugger. I am currently on gdb support for x86_64 mingw target. But I expect, it will still take some time until I publish. Cheers, i.A. Kai Tietz | (\_/) This is Bunny. Copy and paste Bunny | (='.'=) into your signature to help him gain | (")_(") world domination. ------------------------------------------------------------------------------------------ OneVision Software Entwicklungs GmbH & Co. KG Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050 Handelsregister: HRA 6744, Amtsgericht Regensburg Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer: Ulrike Döhler, Manuela Kluger