[Bug tree-optimization/17841] table lookups vs binary search in switch-statements

2004-10-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-19 20:59 --- Fixed on the mainline, the resulting code for the two functions are the same now. -- What|Removed |Added -

[Bug tree-optimization/17841] table lookups vs binary search in switch-statements

2004-10-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-18 17:32 --- We already get much better code on the mainline for this testcase as the constant for x is progated into the case statements so we only get the storing of the value into g. I have a fix for 4.x, there is a