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

Segmentation fault for a really long variable declaration statement with --via-ir #14995

Open
alex1448 opened this issue Apr 6, 2024 · 0 comments
Labels

Comments

@alex1448
Copy link

alex1448 commented Apr 6, 2024

Description

The compiler segfaults when trying to compile a really long tuple assignment with --via-ir, tested with latest solc version 0.8.25. The attached program has 1750 variables in a single variable declaration statement but it doesn't have to be this number necessarily. I don't know if this is something that the team would want to investigate, but in any case I thought to open this issue.

testcase.zip

solc --asm --via-ir testcase.sol

Environment

  • Compiler version: 0.8.25
@alex1448 alex1448 changed the title Segmentation fault for a really long tuple assignment with --via-ir Segmentation fault for a really long variable declaration statement with --via-ir Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant