This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]