Re: short C code that uses AVX and fails under Cygwin

2016-01-14 Thread Warren Young
On Jan 14, 2016, at 1:20 PM, Ilya Razenshteyn wrote: > > the below C code fails under Cygwin. It segfaults here. Is that what you mean by “fails”? > the environment is: Windows 8.1, Cygwin 2.3.1, GCC 4.9.3, CPU 'Intel(R) > Core(TM) i7-4510U CPU @ 2.00GHz’ It fails on my recently-updated Wind

Re: short C code that uses AVX and fails under Cygwin

2016-01-14 Thread Ilya Razenshteyn
Looks like this is indeed what happens! Thanks a lot! Ilya On 1/14/2016 11:49 PM, Ismail Donmez wrote: Hi, On Thu, Jan 14, 2016 at 10:20 PM, Ilya Razenshteyn wrote: Hi all, the below C code fails under Cygwin. More specifically, the environment is: Windows 8.1, Cygwin 2.3.1, GCC 4.9.3, CPU

Re: short C code that uses AVX and fails under Cygwin

2016-01-14 Thread Ismail Donmez
Hi, On Thu, Jan 14, 2016 at 10:20 PM, Ilya Razenshteyn wrote: > Hi all, > > the below C code fails under Cygwin. More specifically, the environment is: > Windows 8.1, Cygwin 2.3.1, GCC 4.9.3, CPU 'Intel(R) Core(TM) i7-4510U CPU @ > 2.00GHz', compilation options are '-O0 -mavx'. Is it indeed a bug

short C code that uses AVX and fails under Cygwin

2016-01-14 Thread Ilya Razenshteyn
Hi all, the below C code fails under Cygwin. More specifically, the environment is: Windows 8.1, Cygwin 2.3.1, GCC 4.9.3, CPU 'Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz', compilation options are '-O0 -mavx'. Is it indeed a bug in Cygwin or I don't understand something? Cheers, Ilya #include