-
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
Compiler Bug: Expression E write set already set #4500
Comments
Introduced by e60cb8a. |
I'm not sure if this is the best fix, but changing
|
def_use maintains a hashmap that maps each expression to its def_use information. This is the relevant fragment:
You can see that the subtree rooted at 8710 is used in two different expressions. |
@mihaibudiu Makes sense, thank you for the explanation. |
Compiling the following P4 code:
results in:
This bug has been introduced somewhere in between 812722f and 5f9cb55.
The text was updated successfully, but these errors were encountered: