Skip to content

Conversation

@heathdutton
Copy link

Fixes #16306

Using --optimize --no-optimize-yul caused an internal compiler error in createMetadata() because optimizeStackAllocation remained true (from OptimiserSettings::standard()) while runYulOptimiser was set to false.

This PR sets optimizeStackAllocation to match runYulOptimiser, ensuring consistency.

@github-actions
Copy link

Thank you for your contribution to the Solidity compiler! A team member will follow up shortly.

If you haven't read our contributing guidelines and our review checklist before, please do it now, this makes the reviewing process and accepting your contribution smoother.

If you have any questions or need our help, feel free to post them in the PR or talk to us directly on the #solidity-dev channel on Matrix.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Combining --optimize with --no-optimize-yul causes solc to crash

1 participant