Re: [PATCH, testsuite] Add dg-require-stack-size

2017-10-18 Thread Tom de Vries
On 10/17/2017 06:14 PM, Mike Stump wrote: On Oct 16, 2017, at 3:16 AM, Tom de Vries wrote: I noticed gcc.dg/tree-ssa/ldist-27.c failing for nvptx due to a too large stack size. OK for trunk? Hum. There is an existing mechanism (find-grep STACK_SIZE) in the tree to handle the same issue

Re: [PATCH, testsuite] Add dg-require-stack-size

2017-10-17 Thread Mike Stump
On Oct 16, 2017, at 3:16 AM, Tom de Vries wrote: > > I noticed gcc.dg/tree-ssa/ldist-27.c failing for nvptx due to a too large > stack size. > OK for trunk? Hum. There is an existing mechanism (find-grep STACK_SIZE) in the tree to handle the same issue. Did you consider using it? I think I

[PATCH, testsuite] Add dg-require-stack-size

2017-10-16 Thread Tom de Vries
Hi, I noticed gcc.dg/tree-ssa/ldist-27.c failing for nvptx due to a too large stack size. I started updating the testcase using "dg-add-options stack_size", but came across dg-require-support and realized I could make a dg-require-stack-size directive with an argument, and use that instead.