[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in Gcc 2.5.8



> 	jbsr a2@
> 	movel d0,d2
> 	addqw #4,sp     | here the Zero flag get overwritten!

Really, even when addq is used with an address register?

> 	jne L2
> 	moveq #0,d0
> 	jra L1
> L2:
> 	pea 200:w
> 	jbsr a2@
> 	addqw #4,sp
> 	tstl d0
> 	jne L3
> 	movel d2,sp@-
> 	jbsr _free
> 	moveq #0,d0
> 	addqw #4,sp

Same code here, but no check is following, so there's no problem.

--clausb@hpbeo79.bbn.hp.com-----------------------------------------------
Claus Brod, MDD, HP Boeblingen         Have you hugged your manager today?
--#include <std_disclaimer>-----------------------------------------------