[split] Add two tests

Ian Lance Taylor iant@google.com
Sat Sep 26 05:55:00 GMT 2009


This patch adds two simple tests for -fstack-split, one with and one
without threads.  These tests pass with -fstack-split.  Without it
they crash after running out of stack.

Tested on x86_64-unknown-linux-gnu.  Committed to split branch.

Ian


2009-09-25  Ian Lance Taylor  <iant@google.com>

	* testsuite/gcc.dg/split-1.c: New test.
	* testsuite/gcc.dg/split-2.c: New test.
	* testsuite/lib/target-supports.exp
	(check_effective_target_split_stack): New function.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 3246 bytes
Desc: -fstack-split tests
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090926/e8058b04/attachment.bin>


More information about the Gcc-patches mailing list