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

Do not crash if constant width is 0 #3358

Merged
merged 2 commits into from
May 25, 2022
Merged

Conversation

mihaibudiu
Copy link
Contributor

Signed-off-by: Mihai Budiu mbudiu@vmware.com
Fixes #3285

@mihaibudiu mihaibudiu requested a review from fruffy May 24, 2022 23:26
Mihai Budiu added 2 commits May 24, 2022 17:18
Signed-off-by: Mihai Budiu <mbudiu@vmware.com>
@mihaibudiu mihaibudiu merged commit f6b32cb into p4lang:main May 25, 2022
@mihaibudiu mihaibudiu deleted the issue3285 branch May 25, 2022 02:31
github-sajan pushed a commit to github-sajan/p4c that referenced this pull request May 26, 2022
* Do not crash if constant width is 0

Signed-off-by: Mihai Budiu <mbudiu@vmware.com>

* Changed reference outputs
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.

terminate called after throwing an instance with "const int t = 0s0;"
2 participants