[Mingw-w64-public] __attribute__((__force_align_arg_pointer__)) and callbacks when SSE is enabled

2016-04-19 Thread lh_mouse
This morning, ESphynx on IRC encountered a segment fault with -ffast-math enabled. He explained a little about his problem, and I told him to attach __attribute__((__force_align_arg_pointer__)) to his OnMouseMove() callback, and the problem was solved. The cause of the segment fault was a bit

[Mingw-w64-public] gfortran patch available, heads up

2016-04-19 Thread Jerry DeLisle
I have posted a patch that fixes a regression in gfortran 4.9 through trunk. The PR number is 70684 and can be found here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70684 The problem hits mostly Windows using CR-LF for list directed reading of files and causes erroneous reading of values with

Re: [Mingw-w64-public] Windows Nano Server

2016-04-19 Thread Michael Smith
For posterity, turned out this was wrong. I was able to get a C++ binary that depends on libstdc++ running on Nano Server with no changes to the compiler, I just had to avoid explicitly linking '-lkernel32' (which CMake does by default) because it brings in __C_specific_handler. On Mon, Dec 21, 20

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-19 Thread lh_mouse
Thanks to ktietz, Elieux, mingwandroid (via IRC) and jwakely (via mail), the integration of mcfgthread and gcc has been accomplished. This 9000- patch applies to the gcc-5-branch after all other patches from https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-gcc-git are applied. Aft