On 4/6/2014 8:43 AM, lh_mouse wrote:
*snip*
> E:\Desktop>g++ test.cpp -std=c++11
>
> E:\Desktop>a
> ctor
> dtor
> /****** Crashes here  ****/
>
> E:\Desktop>g++ test.cpp -std=c++11 -static
>
> E:\Desktop>a
> ctor
> dtor
> /******  This does not crash ******/
>
> E:\Desktop>g++ -v
> /****** omitted ******/
> Thread model: win32
> gcc version 4.9.0 20140218 (experimental) (i686-win32-sjlj, Built by 
> MinGW-W64 project)

Have you tried a build from the GCC 4.8 series to see if it's specific 
to 4.9/trunk? For reference, your test program doesn't crash when built 
with TDM64-GCC 4.8.1 and shared or static linkage.

-John E. / TDM

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to