Mohamed Shafi wrote:
even i wrote define_peephole2 which is similar to the above. But the above patterns are not matched at all. But i can find these patterns in the rtl dumps.
Run cc1 under gdb. Put a breakpoint in the peephole function. Step through the code to see what is wrong.
-- Jim Wilson, GNU Tools Support, http://www.specifix.com