tests: add test that exposes constant variable optimization bug
tests: improve test that exposes constant variable optimization bug
fix too eager constant variable optimization; now only mark them as const if there's one assignment outside any branches or loops
tests: safer
fix lower_jumps to report progress properly