This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix gcc.dg/sibcall-[34].c.
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 28 Feb 2004 05:52:54 -0500 (EST)
- Subject: Re: [patch] Fix gcc.dg/sibcall-[34].c.
- References: <20040227.210531.23011438.kazu@cs.umass.edu>
On Fri, 27 Feb 2004, Kazu Hirata wrote:
> The net effect is the same as sibcall optimization
> in that the stack depth doesn't change, causing track() into thinking
> that the sibcall optimization is working.
The improved inlinability, SSA and whatnot causes lots of tests
to not anymore test what was intended. Maybe we need
test-iterations with -fno-inline and the other names of options
for deactivating those optimizations.
> 2004-02-27 Kazu Hirata <kazu@cs.umass.edu>
>
> * gcc.dg/sibcall-3.c: Make all functions extern.
> * gcc.dg/sibcall-4.c: Likewise.
I suggest you make them attribute noinline instead, or in
addition to extern.
brgds, H-P