Skip to content

ieeeFlags unittest: the optimizer might remove operations that the te…#7126

Merged
thewilsonator merged 1 commit intodlang:masterfrom
rainers:nan_std_math
Aug 17, 2019
Merged

ieeeFlags unittest: the optimizer might remove operations that the te…#7126
thewilsonator merged 1 commit intodlang:masterfrom
rainers:nan_std_math

Conversation

@rainers
Copy link
Member

@rainers rainers commented Aug 9, 2019

…st is depending upon
The optimizer removes all traces of a because it is const-folded to nan. That means no side effects appear.

This test is failing here: https://dev.azure.com/dlanguage/dmd/_build/results?buildId=3982&view=logs&jobId=995050be-48e9-58a0-3553-d9a547fe6c20&taskId=3bcde2a0-396a-5c5e-c7d5-d0568bb0ee4b&lineStart=4275&lineEnd=4276&colStart=1&colEnd=1

Not sure why it doesn't appear on other platforms, but it triggers when using dmd built against the MS C runtime.

@rainers rainers requested a review from ibuclaw as a code owner August 9, 2019 13:11
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @rainers!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + phobos#7126"

@rainers
Copy link
Member Author

rainers commented Aug 9, 2019

Just noticed that there are two more unittests that almost do the same. Amended similar fixes, but they could also just be deleted (they don't look like useful examples with these workarounds).

@rainers
Copy link
Member Author

rainers commented Aug 16, 2019

Ping! Any reason for holdup?

@thewilsonator thewilsonator merged commit cd86ceb into dlang:master Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants