Skip to content
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

fix Issue 5922 - inline assembler - referencing immutable variable va… #11605

Merged
merged 1 commit into from Aug 22, 2020

Conversation

WalterBright
Copy link
Member

…lues fails

Switch to the more powerful constant folding code in the semantic routines.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Severity Description
5922 normal inline assembler - referencing immutable variable values fails

Testing this PR locally

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

dub run digger -- build "master + dmd#11605"

@ghost ghost added the auto-merge label Aug 22, 2020
@ghost
Copy link

ghost commented Aug 22, 2020

@WalterBright
Copy link
Member Author

So might as well pull this, then, since the test failure is not relevant.

@ghost
Copy link

ghost commented Aug 22, 2020

Yes, especially since the problem seems to be a UB in optlink.

@ghost
Copy link

ghost commented Aug 22, 2020

Auto-merge toggled on

@WalterBright
Copy link
Member Author

Looks like I can't override and pull anymore.

As for Optlink, it hasn't changed recently, so why is the test suddenly failing now?

@ghost
Copy link

ghost commented Aug 22, 2020

Looks like I can't override and pull anymore.

I've clicked to activate automerge directly in the web interface of the Auto-Tester.

@ghost
Copy link

ghost commented Aug 22, 2020

Auto-merge toggled off

@ghost
Copy link

ghost commented Aug 22, 2020

That should work from GH now. I forgot that using the Auto-Tester feature to merge is only useful when external CI fail.

@WalterBright
Copy link
Member Author

That should work from GH now.

What should work and what is GH? Anyhow, the "Merge pull request" box is greyed out.

@ghost
Copy link

ghost commented Aug 22, 2020

What should work is the box that's greyed... It's possible that manual merge is disabled because the Auto-Tester is tagged as "required". So you have to amend+force push if you want to get the changes merged today.

@wilzbach
Copy link
Member

wilzbach commented Aug 22, 2020

Looks like I can't override and pull anymore.

Yes, I disabled that a while ago as it regularly lead to broken stuff being merged and Andrei directly or pushing to master. I can still be done via the settings, but it's a bit harder now with the hope of it being used less often.

Edit: It only applies to the two required CIs (Auto-Tester and DAutoTest) though. You can still merge over Buildkite failures.

@MoonlightSentinel
Copy link
Contributor

MoonlightSentinel commented Aug 22, 2020

The link failure + timeout suggests an internal failure in Optlink which opens it's "Message box of death"

@WalterBright
Copy link
Member Author

If it's the optlink message box, it's definitely an optlink bug. It's possible an older optlink is running on that platform. If you could zip up the files that optlink is linking and email them to me, I can do some checks for simple causes.

@WalterBright WalterBright deleted the fix5922 branch August 22, 2020 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants