This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New test is invalid for AVR
"Dave Korn" <dave.korn@artimi.com> writes:
> Ian Lance Taylor wrote on 07 August 2008 19:20:
>
>> If the test will run on most normal targets, then a better approach is
>> to add something like
>>
>> #if defined(STACK_SIZE) && STACK_SIZE < 1000
>> exit (0); /* or "return 0" from main, as appropriate"
>> #endif
>
> :) Actually, it's a compile test!
A compile test breaks because it uses a large stack?
In that case, just comment out the bulk of the test based on
STACK_SIZE.
Ian