Open rcgoodfellow opened 1 year ago
The following works fine.
bit<32> x = 0;
However, the following causes bad code generation
bit<32> x;
According to the P4 spec section 11.2, variable initializers are optional, so this should be accepted by the front end and generate valid code.
The following works fine.
However, the following causes bad code generation
According to the P4 spec section 11.2, variable initializers are optional, so this should be accepted by the front end and generate valid code.