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

Re: Bug in Gcc 2.5.8



Ulrich Kuehn <kuehn@GOEDEL.UNI-MUENSTER.DE> writes:

|> Hello!
|> There has been this problem with mint kernels compiled with gcc 2.5.8 and
|> the multitos aes. Now I have found a compiler bug, which might be
|> responsible for that:

There is no bug in here.

|> #NO_APP
|> gcc2_compiled.:
|> ___gnu_compiled_c:
|> .text
|> 	.even
|> .globl _foo
|> _foo:
|> 	movel a2,sp@-
|> 	movel d2,sp@-
|> 	pea 100:w
|> 	lea _malloc,a2
|> 	jbsr a2@
|> 	movel d0,d2
|> 	addqw #4,sp     | here the Zero flag get overwritten!

Instructions with an address register as the destination *never*
change the condition register.

Andreas.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"