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.
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)
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