Closed graphicsMan closed 6 years ago
Thanks! It's also failing CI on MSVC 2015 and 2017, so I'd like to check the testcase before adopting this.
You mentioned it previously failed on Clang with -O3. Was it the same with other optimization levels? What version are you using?
Ah, I see the version info on issue #14. Still need to cross-reference the version number to mainline Clang.
Mostly I do compatibility/regression testing by copy-pasting into online compilers like Wandbox. And I might also upgrade my home C++ environment for the first time in a couple years. So this might take a few days.
Failing on -O3 is exactly what this dancing around alias analysis is supposed to prevent.
Merged.
Ran all tests, and all tests pass except for scoped_allocator (verified that this test previously fails with -O3).