Skip to content

fix Issue 11822 - switch causes ICE with return and other stuff#3081

Merged
9rnsr merged 1 commit intodlang:masterfrom
WalterBright:fix11822
Jan 13, 2014
Merged

fix Issue 11822 - switch causes ICE with return and other stuff#3081
9rnsr merged 1 commit intodlang:masterfrom
WalterBright:fix11822

Conversation

@WalterBright
Copy link
Member

This is an alternate to the fix #3034

It includes the same test cases.

https://d.puremagic.com/issues/show_bug.cgi?id=11822

@9rnsr
Copy link
Contributor

9rnsr commented Jan 13, 2014

Looks not bad.

9rnsr added a commit that referenced this pull request Jan 13, 2014
fix Issue 11822 -  switch causes ICE with  return and other stuff
@9rnsr 9rnsr merged commit 24c1dff into dlang:master Jan 13, 2014
@WalterBright WalterBright deleted the fix11822 branch January 13, 2014 03:36
@WalterBright
Copy link
Member Author

Thanks, Kenji!

@9rnsr 9rnsr mentioned this pull request Jan 13, 2014
@andralex
Copy link
Member

awesomesauce

@9rnsr
Copy link
Contributor

9rnsr commented Jan 13, 2014

I merged this PR to fix blocker regressions of 2.065 release, but I still think my fix (#3034) is more robust way for the future.

@denis-sh
Copy link
Contributor

So this is merged now. May I ask to answer Issue 11857 Comment 3?

@9rnsr
Copy link
Contributor

9rnsr commented Jan 13, 2014

@denis-sh I commented.

@9rnsr
Copy link
Contributor

9rnsr commented Jan 14, 2014

@WalterBright Newly reported regression 11922 has same root but your this change could not prevent the ICE. So this change is still insufficient. And my fix #3034 can resolve 11922 without any additional fix.

9rnsr added a commit to 9rnsr/dmd that referenced this pull request Apr 15, 2014
This reverts commit 24c1dff, excepting test cases.
@ibuclaw
Copy link
Member

ibuclaw commented Jun 5, 2014

It's hard to tell, but this might have caused a bad codegen regression:

https://issues.dlang.org/show_bug.cgi?id=12860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants