This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: New test is invalid for AVR
Ian Lance Taylor wrote on 08 August 2008 01:17:
> "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?
Yep! Reload generates an offset that isn't allowable in the machine
insns. Frame-pointer elimination was causing it to be larger than expected.
http://gcc.gnu.org/ml/gcc-patches/2008-08/msg00439.html
cheers,
DaveK
--
Can't think of a witty .sigline today....