Add dg-add-options feature stack_size

Programming / Compilers / GCC - vries [138bc75d-0d04-0410-961f-82ee72b054a4] - 21 June 2017 05:10 EDT

2017-06-21 Tom de Vries

- doc/sourcebuild.texi (Add Options, Features for dg-add-options): Add stack_size feature. (Effective-Target Keywords, Other attributes): Suggest using dg-add-options stack_size feature to get stack limit in stack_size effective target documentation.

- lib/target-supports.exp (add_options_for_stack_size): New proc.
- gcc.c-torture/execute/920501-7.c: Use dg-add-options stack_size.
- gcc.c-torture/compile/20080806-1.c: Same.
- gcc.c-torture/compile/920723-1.c: Same.
- gcc.c-torture/compile/930621-1.c: Same.
- gcc.c-torture/compile/991214-2.c: Same.
- gcc.c-torture/compile/bcopy.c: Same.
- gcc.c-torture/compile/memtst.c: Same.
- gcc.c-torture/compile/msp.c: Same.
- gcc.c-torture/compile/stuct.c: Same.
- gcc.c-torture/execute/20011008-3.c: Same.
- gcc.c-torture/execute/20030209-1.c: Same.
- gcc.c-torture/execute/20031012-1.c: Same.
- gcc.c-torture/execute/20040805-1.c: Same.
- gcc.c-torture/execute/920410-1.c: Same.
- gcc.c-torture/execute/921113-1.c: Same.
- gcc.c-torture/execute/921202-1.c: Same.
- gcc.c-torture/execute/921208-2.c: Same.
- gcc.c-torture/execute/930106-1.c: Same.
- gcc.c-torture/execute/930406-1.c: Same.
- gcc.c-torture/execute/950221-1.c: Same.
- gcc.c-torture/execute/960521-1.c: Same.
- gcc.c-torture/execute/980605-1.c: Same.
- gcc.c-torture/execute/comp-goto-1.c: Same.
- gcc.c-torture/execute/comp-goto-2.c: Same.
- gcc.c-torture/execute/memcpy-1.c: Same.
- gcc.c-torture/execute/multi-ix.c: Same.
- gcc.c-torture/execute/nestfunc-4.c: Same.
- gcc.c-torture/execute/pr20621-1.c: Same.
- gcc.c-torture/execute/pr23135.c: Same.
- gcc.c-torture/execute/pr28982b.c: Same.
- gcc.dg/loop-3.c: Same.
- gcc.dg/struct-ret-3.c: Same.
- gcc.dg/torture/stackalign/comp-goto-1.c: Same.
- gcc.dg/torture/stackalign/non-local-goto-4.c: Same.
- gcc.dg/tree-prof/comp-goto-1.c: Same.
- gcc.dg/tree-prof/pr44777.c: Same.

e9ae102 Add dg-add-options feature stack_size
gcc/ChangeLog | 8 +++++
gcc/doc/sourcebuild.texi | 15 +++++---
gcc/testsuite/ChangeLog | 40 ++++++++++++++++++++++
gcc/testsuite/gcc.c-torture/compile/20080806-1.c | 2 +-
gcc/testsuite/gcc.c-torture/compile/920723-1.c | 2 +-
gcc/testsuite/gcc.c-torture/compile/930621-1.c | 2 +-
gcc/testsuite/gcc.c-torture/compile/991214-2.c | 2 +-
gcc/testsuite/gcc.c-torture/compile/bcopy.c | 2 +-
gcc/testsuite/gcc.c-torture/compile/memtst.c | 2 +-
gcc/testsuite/gcc.c-torture/compile/msp.c | 2 +-
gcc/testsuite/gcc.c-torture/compile/stuct.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/20011008-3.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/20030209-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/20031012-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/20040805-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/920410-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/920501-7.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/921113-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/921202-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/921208-2.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/930106-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/930406-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/950221-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/960521-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/980605-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/comp-goto-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/comp-goto-2.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/memcpy-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/multi-ix.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/nestfunc-4.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/pr20621-1.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/pr23135.c | 2 +-
gcc/testsuite/gcc.c-torture/execute/pr28982b.c | 2 +-
gcc/testsuite/gcc.dg/loop-3.c | 2 +-
gcc/testsuite/gcc.dg/struct-ret-3.c | 2 +-
.../gcc.dg/torture/stackalign/comp-goto-1.c | 2 +-
.../gcc.dg/torture/stackalign/non-local-goto-4.c | 2 +-
gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c | 2 +-
gcc/testsuite/gcc.dg/tree-prof/pr44777.c | 2 +-
gcc/testsuite/lib/target-supports.exp | 11 ++++++
40 files changed, 105 insertions(+), 41 deletions(-)

Upstream: gcc.gnu.org


  • Share