Test testsuite/gcc.dg/builtin-return-1.c will fail for avr target. Default implementation of builtin-return-1 is untyped return of a single register. Which is R25 and only 1 byte. This is not int as test expects. So high byte may and does get overwritten before outer return. The test may be invalid, but this is also reminder that AVR target does not have a complete definition for untyped return. The default is pretty useless. Test with be marked XFAIL.
Subject: Bug 36571 Author: hutchinsonandy Date: Wed Jun 18 22:59:41 2008 New Revision: 136926 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136926 Log: PR c/36571 * gcc.dg/builtin-return-1.c: Mark as xfail on AVR. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/builtin-return-1.c