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

simplify union evc #16502

Merged
merged 1 commit into from
May 23, 2024
Merged

simplify union evc #16502

merged 1 commit into from
May 23, 2024

Conversation

WalterBright
Copy link
Member

No description provided.

@WalterBright WalterBright added Easy Review Refactoring No semantic changes to code Backend glue code, optimizer, code generation labels May 16, 2024
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

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 run digger -- build "master + dmd#16502"

@WalterBright
Copy link
Member Author

Looks like valgrind doesn't like this change.

@thewilsonator
Copy link
Contributor

@ibuclaw any idea what the persistent failure on Main / Ubuntu 22.04 x64, GDC is about?

@ibuclaw
Copy link
Member

ibuclaw commented May 20, 2024

@ibuclaw any idea what the persistent failure on Main / Ubuntu 22.04 x64, GDC is about?

Could be https://gcc.gnu.org/PR92309

@RazvanN7 RazvanN7 merged commit 35bcd18 into dlang:master May 23, 2024
40 of 41 checks passed
@ibuclaw
Copy link
Member

ibuclaw commented May 23, 2024

@RazvanN7 did you merge when there are failing pipelines?

@RazvanN7
Copy link
Contributor

I was under the impression that the failure is unrelated.

RazvanN7 added a commit that referenced this pull request May 23, 2024
@RazvanN7
Copy link
Contributor

@ibuclaw revert: #16517

thewilsonator pushed a commit that referenced this pull request May 23, 2024
@RazvanN7 RazvanN7 mentioned this pull request May 23, 2024
@RazvanN7
Copy link
Contributor

Redone in #16518

@WalterBright
Copy link
Member Author

@RazvanN7 what was the actual problem?

@thewilsonator
Copy link
Contributor

possibly #16502 (comment)

@ibuclaw
Copy link
Member

ibuclaw commented May 24, 2024

possibly #16502 (comment)

That can be checked by replacing the anonymous union with a named union field + alias this.

If found to be the case, then not much can do about it. I didn't have the foresight to backport the fix to the 9 release branch four years ago, and its frozen/closed now.

You can always use version(GNU) or static if (__VERSION__ <= 2076) to put the workaround behind.

@WalterBright WalterBright deleted the evc branch May 24, 2024 22:15
@WalterBright
Copy link
Member Author

Ah. Thanks for getting it fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Backend glue code, optimizer, code generation Easy Review Refactoring No semantic changes to code
Projects
None yet
5 participants