This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Function PPC prolog/epilog test
- To: laire at popmail dot owl dot de
- Subject: Re: Function PPC prolog/epilog test
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Wed, 26 May 1999 17:45:32 -0400
- Cc: egcs at egcs dot cygnus dot com
>>>>> Ralph Schmidt writes:
Ralph> Is there a method to test at compile time if the compiler generated
Ralph> a prolog/epilog or if it optimized it away ?
Ralph> Dependent on the prolog/epilog i could use a quick return in
Ralph> an assembler macro.
The compiler always generates a prolog and epilog. The ABI
requires a minimal prologue and epilogue. The function may not generate a
stack frame, but it will have prolog and epilog.
David