This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]