[Bug c++/80652] Union conversion between __m128d and double array does not work under 5.0 through 6.2

2017-05-06 Thread paboyle at ph dot ed.ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80652 --- Comment #3 from Peter Boyle --- Can confirm (5.4) that -O2 also fails, -O1 passes.

[Bug c++/80652] Union conversion between __m128d and double array does not work under 5.0 through 6.2

2017-05-06 Thread paboyle at ph dot ed.ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80652 --- Comment #2 from Peter Boyle --- Thanks for the quick response. Hope this more complete info is helpful. Should give (1,0) but does give (0,0) under G++ 5.0-6.2 under -O3. peterboyle$ g++-mp-5 --version g++-mp-5 (MacPorts gcc5 5.4.0_0)

[Bug c++/80652] Union conversion between __m128d and double array does not work under 5.0 through 6.2

2017-05-06 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80652 --- Comment #1 from Marc Glisse --- I didn't study the testcase (a bit long), but I am getting the same output with any version of gcc or clang I tried, at any level of optimization. Are you certain about your example? What is the expected