0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-02-02 22:30:01 +00:00
Ondrej Zajicek bf5aa94a8b Filter: Change linearization of branches in switch instruction
Most branching instructions (FI_CONDITION, FI_AND, FI_OR) linearize its
branches in a recursive way, while FI_SWITCH branches are linearized
from parser even before the switch instruction is allocated.

Change linearization of FI_SWITCH branches to make it similar to other
branching instructions. This also fixes an issue with constant
switch evaluation, where linearized branch is mistaken for
non-linearized during switch construction.

Thanks to Jiten Kumar Pathy for the bugreport.
2024-05-30 12:30:00 +02:00
..
2020-05-02 02:47:18 +02:00
2020-05-02 02:47:18 +02:00
2022-02-06 23:27:13 +01:00