-
Notifications
You must be signed in to change notification settings - Fork 444
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
Declaring an action profile as a control local crashes the BMV2 backend #297
Comments
antoninbas
added
bmv2
Topics related to BMv2 or v1model
bug
This behavior is unintended and should be fixed.
labels
Feb 27, 2017
mihaibudiu
pushed a commit
to mihaibudiu/p4c-clone
that referenced
this issue
Mar 1, 2017
mihaibudiu
pushed a commit
to mihaibudiu/p4c-clone
that referenced
this issue
Mar 1, 2017
mihaibudiu
pushed a commit
to mihaibudiu/p4c-clone
that referenced
this issue
Mar 1, 2017
mihaibudiu
pushed a commit
to mihaibudiu/p4c-clone
that referenced
this issue
Mar 1, 2017
ChrisDodd
pushed a commit
that referenced
this issue
Mar 1, 2017
mihaibudiu
pushed a commit
to mihaibudiu/p4c-clone
that referenced
this issue
Mar 4, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In #296 there was discussion of the fact that a table's
implementation
property could refer to aDeclaration_Instance
. The attached file is a modified version of an existing test case,action_profile-bmv2.p4
, which declares an action profile as a control local. It crashes the BMV2 backend with this message:Note that even ignoring the crash, the error
implementation: expected constructor call for property
suggests that we are currently not prepared to handle this case, at least in the BMV2 backend.action_profile-bmv2.p4.txt
The text was updated successfully, but these errors were encountered: