[patch] Fix gcc.dg/sibcall-[34].c.

Hans-Peter Nilsson hp@bitrange.com
Sat Feb 28 18:26:00 GMT 2004


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



More information about the Gcc-patches mailing list