Skip to content

Comments

fix Issue 20466 - Optimizer clobbering msw register when testing it f…#10696

Merged
WalterBright merged 1 commit intodlang:stablefrom
WalterBright:fix20466
Dec 25, 2019
Merged

fix Issue 20466 - Optimizer clobbering msw register when testing it f…#10696
WalterBright merged 1 commit intodlang:stablefrom
WalterBright:fix20466

Conversation

@WalterBright
Copy link
Member

…or 0

Blocking #10679

@WalterBright WalterBright added the Review:Blocking Other Work review and pulling should be a priority label Dec 25, 2019
@dlang-bot
Copy link
Contributor

dlang-bot commented Dec 25, 2019

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Severity Description
20466 critical Optimizer clobbering msw register when testing it for 0

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 "stable + dmd#10696"

@thewilsonator
Copy link
Contributor

Should this target stable.

@WalterBright
Copy link
Member Author

If it passes :-)

@WalterBright WalterBright removed the Review:Blocking Other Work review and pulling should be a priority label Dec 25, 2019
@WalterBright
Copy link
Member Author

Refactored #10679 so this won't block it.

@WalterBright
Copy link
Member Author

Note: this is an ugly little goto I added. It should be refactored. But it is better to separate the fix from the refactor, which is why I did it this way. It's good that D supports goto to enable this sort of thing.

@thewilsonator
Copy link
Contributor

Indeed, can you come up with a slightly more descriptive name than L1? Otherwise looks great.

@WalterBright WalterBright changed the base branch from master to stable December 25, 2019 12:18
@WalterBright
Copy link
Member Author

The comment associated with it is clear enough. Rebased to stable.

@WalterBright
Copy link
Member Author

The buildkite errors:

dmd/complex.d(57): Deprecation: `opMul` is deprecated.  Use `opBinary(string op)(...) if (op == "*")` instead.
--
  | dmd/complex.d(57): Deprecation: `opMul_r` is deprecated.  Use `opBinaryRight(string op)(...) if (op == "*")` instead.
  | dmd/complex.d(62): Deprecation: `opMul` is deprecated.  Use `opBinary(string op)(...) if (op == "*")` instead.
  | dmd/complex.d(62): Deprecation: `opMul_r` is deprecated.  Use `opBinaryRight(string op)(...) if (op == "*")` instead.
  | dmd/complex.d(67): Deprecation: `opDiv` is deprecated.  Use `opBinary(string op)(...) if (op == "/")` instead.

are not relevant to this PR.

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