You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a problem in the way the compiler moves initializers in the parser. I stripped issue281.p4 to the essentials (attached). After MoveInitializers
There is a problem with moving etherType_0 = hdr.ether.etherType; into start.
In state ietherType_0 is assigned the value hdr.i.etherType. This is essentially ignored once the parser transitions back to state start because etherType_0 = hdr.ether.etherType; has been moved there.
I unfortunately do not have a stf test for this yet.
There seems to be a problem in the way the compiler moves initializers in the parser. I stripped
issue281.p4
to the essentials (attached). AfterMoveInitializers
turns into
There is a problem with moving
etherType_0 = hdr.ether.etherType;
intostart
.In state
i
etherType_0
is assigned the valuehdr.i.etherType
. This is essentially ignored once the parser transitions back to statestart
becauseetherType_0 = hdr.ether.etherType;
has been moved there.I unfortunately do not have a stf test for this yet.
issue281_stripped.p4.txt
The text was updated successfully, but these errors were encountered: