This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,testsuite] Mark builtin_return-1 test XFAIL on AVR target.
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Andy H <hutchinsonandy at aim dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 18 Jun 2008 07:08:10 -0700
- Subject: Re: [PATCH,testsuite] Mark builtin_return-1 test XFAIL on AVR target.
- References: <48586A9B.3040702@aim.com>
- Reply-to: janis187 at us dot ibm dot com
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