[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: honoring gcc test stack size
From: |
Hans-Peter Nilsson |
Subject: |
Re: honoring gcc test stack size |
Date: |
Tue, 12 Feb 2008 23:25:51 +0100 |
> Date: Tue, 12 Feb 2008 15:47:14 -0600
> From: Joel Sherrill <address@hidden>
> I investigated one failure: pr20621-1.x3
You mean gcc/testsuite/gcc.c-torture/execute/pr20621-1.c at -O3?
>From the looks of it, it would take about 2*0x4000*4 bytes stack.
> and discovered that it is using a LOT
#define LOT ?
> of stack. I don't know what the stack
> size limit parameter you gave me is supposed
> to do.
Have a look at the source and the test-cases. ;)
Hint: gcc/testsuite/lib/gcc.exp:gcc_target_compile.
Apparently gcc/testsuite/gcc.c-torture/execute/pr20621-1.c
doesn't use it. I guess it should.
> I increased the init task's stack to 128K
> and that one passed.
Aha, so a LOT < 128K! :)
(I know, I've been there too, some time ago.
Though these days a MB is "meh".)
brgds, H-P
- honoring gcc test stack size, Joel Sherrill, 2008/02/12
- Re: honoring gcc test stack size,
Hans-Peter Nilsson <=
- Re: honoring gcc test stack size, Joel Sherrill, 2008/02/12
- Re: honoring gcc test stack size, Joel Sherrill, 2008/02/13
- Re: honoring gcc test stack size, Hans-Peter Nilsson, 2008/02/13
- Re: honoring gcc test stack size, Joel Sherrill, 2008/02/13
- Re: honoring gcc test stack size, Hans-Peter Nilsson, 2008/02/13
- Re: honoring gcc test stack size, Joel Sherrill, 2008/02/13
- Re: honoring gcc test stack size, Hans-Peter Nilsson, 2008/02/13
- RE: honoring gcc test stack size, Dave Korn, 2008/02/13
- Re: honoring gcc test stack size, Hans-Peter Nilsson, 2008/02/13