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

Potential infinite recursion in Tofino backend #5014

Closed
asl opened this issue Nov 12, 2024 · 1 comment · Fixed by #5015
Closed

Potential infinite recursion in Tofino backend #5014

asl opened this issue Nov 12, 2024 · 1 comment · Fixed by #5015
Labels
bug This behavior is unintended and should be fixed. tofino Topics related to the Tofino switch and back end.

Comments

@asl
Copy link
Contributor

asl commented Nov 12, 2024

p4c/backends/tofino/bf-p4c/parde/marshal.h:68:78: warning: all paths through this function will call itself [-Winfinite-recursion]
inline JSONGenerator &operator<<(JSONGenerator &out, const MarshaledFrom &c) { return out << c; }
@asl asl added bug This behavior is unintended and should be fixed. tofino Topics related to the Tofino switch and back end. labels Nov 12, 2024
@fruffy
Copy link
Collaborator

fruffy commented Nov 12, 2024

This should be fixed in #5007.

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. tofino Topics related to the Tofino switch and back end.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants