Hello Rob and Jon Y! I see the same thing.
On Sun, Oct 6, 2013 at 9:00 AM, JonY <[email protected]> wrote: > On 10/6/2013 20:31, [email protected] wrote: >> Hi, >> >> Here's the simple demo: >> >> /*************************** >> #include <quadmath.h> >> >> int main (void) { >> __float128 r; >> r = expq(2.0Q); >> return 0; >> } >> >> ***************************/ >> >> With recent MinGW64 ports of gcc, that program builds ok, but running it >> results in a crash. >> ... > > Confirmed: > > Program received signal SIGSEGV, Segmentation fault. > fesetenv (envp=envp@entry=0x28fe40) at ../misc/fesetenv.c:59 > ... > I'm not too clear what the asm code mean, Kai? For what it's worth, I also get a crash. I copied and pasted Rob's demo program, and I get the error with: C:\junk>gcc --version gcc (rubenvb-4.8-stdthread) 4.8.1 20130324 (prerelease) Compiling as: C:\junk>gcc -o quadmath_test quadmath_test.c -lquadmath or C:\junk>gcc -g -o quadmath_test quadmath_test.c -lquadmath both crash when run: C:\junk>quadmath_test In my case, running with gdb (the gcc -g version), I get: C:\junk>gdb quadmath_test GNU gdb (rubenvb-4.8-stdthread) 7.5.91.20130324-cvs Reading symbols from C:\junk\quadmath_test.exe...done. (gdb) run Starting program: C:\junk\quadmath_test.exe [New Thread 15952.0x1c78] Program received signal SIGSEGV, Segmentation fault. 0x000000006cf36a5c in strtoflt128 () from .\mingw64\bin\libquadmath-0.dll (This is running on 64-bit windows 7.) Cheers. K. Frank ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
