-
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix orphaned CondExp __cond variable refs in codegen AST
This fixes dmd-testsuite's compilable/b16598.d by making sure to (partially) constant-fold dtor expressions of VarDeclarations too. dlang/dmd#12176 made these __cond temporaries const, triggering constant-folding and potentially getting rid of it altogether when optimizing a CondExp.
- Loading branch information
Showing
1 changed file
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters