-
-
Notifications
You must be signed in to change notification settings - Fork 11k
BUG: reorder operations for VS2015 #12526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Will try checking this out locally and seeing if it solves my problem tomorrow. |
Yeah, this fixes the problems I was having. Running the full test suite now, but I'm expecting a pass |
Yeah, this fixes everything for me. It might still be worth holding off on merging this until we can reproduce the failure in CI |
Thanks for checking. Added a comment so this hopefully won't happen again |
What is even more confusing is that AFAICT Visual Studio 2015 uses Visual C++ 14.0 compiler, but so does Visual Studio 2017? The information on the python windows compiler page is confusing. What exact version of |
It looks like I have the complete VS2015 Update 2 installation. |
When we merge this, we should:
|
According to wikipeida, there was update 3 in June 2016. Is there a reason you cannot update? |
Nope, no reason I cannot update - but if the resolution is "update 3 or newer required", then we should blacklist my compiler version |
I think we are done. We have a workaround for your (assumed broken) compiler, I would prefer not to add a CI run for a niche compiler. Do we have a mechanism to blacklist compilers, other than documenting the situation? |
Fair enough, saves me some work, but in that case I would prefer either:
|
Such a unit test already exists, which is how we found this in the first place
I feel like |
Sorry, by creative I meant a test that will cause a failure with compilers currently used in CI unless the fix is applied. But yeah, I guess putting some kind of dummy code that will fail for the offending compiler is probably an order of magnitude less ugly & does the job of failing early / reproducibly instead of build successfully and then maybe only failing an isolated unit test. I suppose the dummy code could even suggest the reason for a specific failure, although I don't know offhand if we annotate that stuff. |
Is this still WIP ? |
The fix itself is good to go. The remaining question is how much energy we should invest in making sure the problem does not repeat by crafting a stand-alone test for faulty compilation at build time, to let a potential user know early that their build will give wrong results. I am of the opinion we do not need to do anything further, this should just be merged as-is, and users of these kinds of compilers should be running the test suite which would detect the problem. |
Let's put this in. The fact that such a new compiler can cause problems is disturbing, but it seems we have a workaround. I'll tag this with the Does this mean that the invalid value bit is getting set by some platforms? |
Hmm, I think @charris has a point - don't we have to go back to explicitly clearing the invalid bit again? |
Huh, I thought we did the initial reordering in order to eliminate those. Guess that's what happens when I respond from mobile. Thanks for fixing this for me, anyway! |
An attempt to influence #12520. Since the offending commit was 24c9faa, I tried reverting the logic in that commit.