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

Compiler bug: bit<32>: unexpected type #4142

Closed
jhavrane opened this issue Sep 8, 2023 · 0 comments · Fixed by #4169
Closed

Compiler bug: bit<32>: unexpected type #4142

jhavrane opened this issue Sep 8, 2023 · 0 comments · Fixed by #4169
Labels
bug This behavior is unintended and should be fixed. core Topics concerning the core segments of the compiler (frontend, midend, parser)

Comments

@jhavrane
Copy link
Contributor

jhavrane commented Sep 8, 2023

Issue

terminate called after throwing an instance of 'Util::CompilerBug'
  what():  In file: ./p4c/ir/ir.def:411
Compiler Bug: prog.p4(2): bit<32>: unexpected type
bit<32>() main;

P4 program

#include <core.p4>
bit<32>() main;
@fruffy fruffy added bug This behavior is unintended and should be fixed. core Topics concerning the core segments of the compiler (frontend, midend, parser) labels Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This behavior is unintended and should be fixed. core Topics concerning the core segments of the compiler (frontend, midend, parser)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants