This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] New tests for sibling call optimisation
On Mon, Nov 04, 2002 at 07:31:54PM +1100, Andreas Bauer wrote:
> gcc.dg/sibcall-6: New test for indirect sibcalls.
I'd much rather you tested this in some machine independant way,
so that all that is needed for new architectures is to add them
to the target list.
Hint: use __builtin_return_address(0).
> gcc.dg/sibcall-7: New test for indirect sibcalls with
> attribute `noreturn'.
This is pointless. The restriction is partly due to a
representation problem in the compiler. The only thing
that we ought to be verifying is that we don't ICE and
don't generate incorrect code.
r~