Subject: Re: -02 flag in compilation
To: Espen Jorde <espenjo@unik.no>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: tech-kern
Date: 10/29/2000 15:09:16
--4SFOXa2GPu3tIq4H
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, Oct 28, 2000 at 03:19:23PM +0200, Espen Jorde wrote:
> I'm including some new sytemcallls to a 1.4.1 kernel as part of my masert
> studies. I've found this:

You should mention what architecture you're using.

Wild guess:

If you use inline asm anywhere, you should make very sure that you told
gcc what registers are clobbered as side-effect of that asm code.

(This hit Amiga kernels a few years ago; newer compiler or -O2 (I forgot
which) thought some register would survive the asm() , while it didn't.)

Regards,
	-is

--4SFOXa2GPu3tIq4H
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBOfwviDCn4om+4LhpAQGSRQf/SDKfLHLVIqm/Eq5GAb//yoyus9PRckVn
o/Dbc7L3UVS+he4hS5dyqrvfeVyBdJil4Htohv0Bj6UO3NKC/T5Bg4/oo2bQHEpe
IfSaaAB+IuhefHtmN8NNiTUDJ+G7zn38yJ9wSDc/aWRX6WFByNbydQctje7nkoFY
xnXc6/2zT3FQEKyY9lDaGUfQ9iol0uEA8HTnx/NZyocLoIdK4JKxmMqjEKDpFqP3
x/pi4E+jvN87c6I7drL72GrjXafITfgyL0TZpMq7AzSHWJYDGnDs6Bl/V4UQtESE
n8GKZeHuwRrpx/DP/Tdq+pAzrZOBdC8Xu6p42iz9I1/GyatiD3XEQA==
=27FH
-----END PGP SIGNATURE-----

--4SFOXa2GPu3tIq4H--