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

Issue 12820 - DMD can inline calls to functions that use alloca, allocating the memory in the caller function instead. #3811

Merged
merged 1 commit into from
Jul 25, 2014

Conversation

yebblies
Copy link
Member

Simply do not inline direct calls to alloca.

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

…allocating the memory in the caller function instead.
@WalterBright
Copy link
Member

Auto-merge toggled on

WalterBright added a commit that referenced this pull request Jul 25, 2014
Issue 12820 - DMD can inline calls to functions that use alloca, allocating the memory in the caller function instead.
@WalterBright WalterBright merged commit 031c94f into dlang:master Jul 25, 2014
@yebblies yebblies deleted the issue3918 branch July 25, 2014 06:34
9rnsr pushed a commit to 9rnsr/dmd that referenced this pull request Jul 28, 2014
Issue 12820 - DMD can inline calls to functions that use alloca, allocating the memory in the caller function instead.
@CyberShadow
Copy link
Member

Looks like this broke a valid useful pattern:
https://issues.dlang.org/show_bug.cgi?id=13427

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.

3 participants