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] Add sibcall-{9,10}.c testcases


On 02/20/15 07:45, Jakub Jelinek wrote:
Hi!

As mentioned in PR63892, with the addition of ICF the sibcall-{3,4}.c tests
no longer test what they meant to test.  This patch duplicates the tests
and adds a volatile var bump in just one of the functions so that ICF can't
be performed and the tests really test sibcalls rather than say tail
recursion.

Regtested on x86_64-linux and i686-linux, ok for trunk?

2015-02-20  Jakub Jelinek  <jakub@redhat.com>

	* gcc.dg/sibcall-9.c: New test.
	* gcc.dg/sibcall-10.c: New test.
OK.
Jeff


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