We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following program
bit<32> do_function() { return 32w1; } control ingress(inout Headers h, inout Meta m, inout standard_metadata_t sm) { action do_action(inout bit<48> val) { if (h.eth_hdr.eth_type == 1 ) { return; } exit; } apply { do_action(h.eth_hdr.src_addr); } }
leads to the following crash in the MidEnd:
BMV2::SimpleSwitchMidEnd_0_CheckTableSize BMV2::SimpleSwitchMidEnd_1_RemoveMiss BMV2::SimpleSwitchMidEnd_2_EliminateNewtype BMV2::SimpleSwitchMidEnd_3_EliminateSerEnums In file: /mnt/windows/Projekte/p4_tv/p4c/ir/visitor.cpp:480 Compiler Bug: visitor returned non-Statement type: <IndexedVector<StatOrDecl>>(92549)
with compiler version:
fruffy@fruffy /m/w/P/p4_tv (master) [1]> p4c/build/p4c --version p4c 1.2.0 (SHA: 59c6bccc9)
returns_and_exits.p4.txt
The text was updated successfully, but these errors were encountered:
mihaibudiu
Successfully merging a pull request may close this issue.
The following program
leads to the following crash in the MidEnd:
with compiler version:
returns_and_exits.p4.txt
The text was updated successfully, but these errors were encountered: