-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add diagnostics for sporadic failures in a <format>
test
#2494
Add diagnostics for sporadic failures in a <format>
test
#2494
Conversation
cerr << " str1: \"" << str1 << "\"\n"; | ||
cerr << "expected: \"" << expected << "\"\n"; | ||
cerr << "DO NOT IGNORE/RERUN THIS FAILURE.\n"; | ||
cerr << "You must report it to the STL maintainers.\n"; |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could, but I don't think it's necessary. charconv doesn't perform floating-point operations, especially the hexfloat codepath. The FPU's transistors are totally cold.
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
…icrosoft#2494)" This reverts commit 1035141.
The sporadic failure mentioned in #2449 has happened twice, in unrelated PRs, affecting both x86 and x64 (but curiously affecting clang-cl both times). We can't figure out why this is happening, so printing the return value of
format()
might help.The output will look like this (with 2,000 zeroes, and there will be some difference between the strings):