This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to avoid stack calling for trapoline code?
- From: Andy H <hutchinsonandy at aim dot com>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 04 Apr 2008 20:32:03 -0400
- Subject: Re: How to avoid stack calling for trapoline code?
no_trampolines Dejagnu switch will omit many but not all trampoline dependent tests.
Nested function are ok - but anything that takes an address of a nested function will use trampoline.
They can be hard to find as testcases are devilish at hiding that part!
For example:
gcc.c-torture/compile/nested-1.c
will fail.
There are quite a few like this. I am hoping to get round to providing patches to correct these test cases. You will find a few more listed
in this valiant attempt of 2005:
http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01919.html
Andy