> I have been working on your patch but I didn't manage to get it > working yet. Unfortunately our current stable GCC version if 4.3.4 and > our 4.4.x still has some issues. > I tried backporting your patch to GCC 4.3.4 but it introduced several > regressions. It's my guess this is due to my incorrect manual > patching of 4.3. > Before I go through the regressions on our GCC 4.3 and try to fix the > patching, do you have by any change a patch against 4.3.x?
Can you try the attached patch again with GCC 4.4.1 and let me know if it fixes your regressions. There are related changes to how basic blocks are split that may needs changing when using switch clustering. The changes to stmt.c are the same as before. The additional changes are to cfgrtl.c and cfgbuild.c. Cheers, Rahul
switch_case_clusters.patch
Description: switch_case_clusters.patch