Bernd Schmidt wrote: > Kenneth Zadeck wrote: >> Paolo Bonzini wrote: >>>>> having the dead note there is asserting to the register allocator >>>>> that >>>>> they are free to use that reg after the calll in any way that it >>>>> wants >>>>> and there is a (small) possibility that is wrong. >>>> IMO there is nothing wrong with this. >>> I agree with Roman. You can always put your call into an asm and make >>> it clobber all other caller-save registers (if EH is not a problem >>> etc. etc.). >>> >>> Paolo >> This is one of the places where i slavishly copied what flow did. > > I agree with Roman and Paolo that this doesn't sound right. Where in > flow did it do this? > > > Bernd i do not know the code well enough. i did a/b testing until i got the same answers. If you think that this is wrong, i can easily generate a patch to change this and we can see if all life as we know it comes to a halt.
I have no real love of this, except the fear of a thousand more bugzillas. kenny