From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernd Schmidt To: law@cygnus.com Cc: egcs@cygnus.com Subject: Re: Some Haifa scheduler bugs Date: Wed, 03 Sep 1997 09:44:00 -0000 Message-id: References: <15524.873304637@hurl.cygnus.com> X-SW-Source: 1997-09/msg00095.html > In general, that's not going to work. > > Basically any machine that defines SMALL_REGISTER_CLASSES and passes args in > registers is playing with fire -- reload can and will silently generate incorrect > code for such targets. For that reason I _highly_ recommend against using > registers for parameter passing on the x86 targets. How can reload generate incorrect code in this case except if the lifetime of a hard register gets extended by the scheduler or some other optimizer? Bernd