> you have this nice cleanup's patch of gcc/loop.c that transliterates the > logic of the uses of the loop_invariant_p (..) and consec_sets_invariant_p > (..) functions.
First of all, patches should be posted to gcc-patches@, not to this list. > I've patched it, builded and executed, and again again with this patched > gcc. It's OK. This is not sufficient. Patch submission must comply with strict rules that are listed at http://gcc.gnu.org/contribute.html. > To the expert person only, please, read now the loop algorithms that > uses *_OF_LOOP_P if there is any failed logic or not. loop.c is gone in the mainline sources. Patching it on the 4.1 branch is allowed only if you have a testcase that exposes a serious bug. -- Eric Botcazou