This is the mail archive of the gcc-patches@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: [PATCH,testsuite] Mark builtin_return-1 test XFAIL on AVR target.


On Tue, 2008-06-17 at 21:53 -0400, Andy H wrote:
> Test gcc.dg/builtin-return-1.c  will fail for AVRtarget.
> 
> Default implementation of untyped return is a single register. Which for 
> AVR is just a byte, not int as test expects.
> So high byte may get overwritten before return.
> 
> I have marked as XFAIL until either test considers return value limit 
> (unlikely and awkward) - or a complete untyped return is added for AVR.
> 
> Also added missing prototype for exit() to prevent warning.
> 
> Test on i686 and AVR target.
> 
> Ok for 4.4 mainline?
> 
> 
> 
> 2008-06-17  Andy Hutchinson   <hutchinsonandy@aim.com>
> 
>   * gcc/testsuite/gcc.dg/builtin-return-1.c: Mark as xfail on AVR 
> target. Add exit  prototype.

An XFAIL must reference a problem report.  That's not true of all
of them in the testsuite, but should be so we can keep track of
them.  Please open a PR and reference it in the test.

Janis


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