I have code that compiles and runs correctly with C++ 12.1. However, when I upgrade to C++ 14.0 it does not work. Values are not correct. If I turn off optimizations or leave it to minimum size, the code works. FYI it works if Use the Visual C++ compiler.
Where do I go next?