On Thu, 2012-01-05 at 14:49 +0100, BELBACHIR Selim wrote: > Hi, > > I'm still developping a new private target backend (gcc4.5.2) and I > noticed something strange in the assembler generated for conditionnal > jump. > >
I'm not sure whether it can help you in this particular case, but you might have a look at how this is done in the SH target (trunk version, not 4.5.2 snapshot) and take PR 51244 into account. Currently the SH target suffers from a similar problem. The patch from PR 51244 fixes the issue. In the SH case it helped looking at what the combine pass is trying to do. Hope it's useful. Cheers, Oleg