aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/alternate-keywords.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2023-12-28 14:03:50 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2023-12-28 15:02:02 +0100
commit365b95203727997534bd044a231737d057747186 (patch)
treefb57d8d90c1a01f422d5cc372bf50f144a867325 /validation/alternate-keywords.c
parentadceff0ab6e3d8bf43de52e2c2fbebf27db30deb (diff)
downloadsparse-dev-fix-zephyr.tar.gz
reassoc: fix infinite loop during reassociationfix-zephyr
The infinite loop is triggered by some fairly simple code on Zephyr and is caused by some exchange of pseudos done without checking the canonical order. Fix this by adding the check for the canonical order. Also use can_move_to() instead of the simpler one_use() to check the dominance of the moved pseudos. Link: https://github.com/zephyrproject-rtos/zephyr/issues/63417 Link: https://lore.kernel.org/linux-sparse/AD16C022-C5F3-4DA2-A1A0-775E4C95A7A1@intel.com/ Reported-by: Marc Herbert <marc.herbert@intel.com> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/alternate-keywords.c')
0 files changed, 0 insertions, 0 deletions