20080625-1.c: Skip for AVR target.

* gcc.c-torture/compile/20080625-1.c: Skip for AVR target.
* gcc.dg/torture/pr36373-10.c: Correct test where target pointer is not same size as unsigned long.

From-SVN: r137603
This commit is contained in:
Andy Hutchinson 2008-07-07 23:08:38 +00:00 committed by Andy Hutchinson
parent bcbdbbb01c
commit e331b3e342
3 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-07-07 Andy Hutchinson <hutchinsonandy@aim.com>
* gcc.c-torture/compile/20080625-1.c: Skip for AVR target.
* gcc.dg/torture/pr36373-10.c: Correct test where target pointer
is not same size as unsigned long.
2008-07-07 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/36670

View File

@ -1,3 +1,4 @@
/* { dg-skip-if "too much data" { "avr-*-*" } { "*" } { "" } } */
struct peakbufStruct {
unsigned int lnum [5000];
int lscan [5000][4000];

View File

@ -1,6 +1,14 @@
/* { dg-do run } */
#if (__SIZEOF_LONG_LONG__ == __SIZEOF_POINTER__)
typedef unsigned long long uintptr_t;
#elif (__SIZEOF_LONG__ == __SIZEOF_POINTER__)
typedef unsigned long uintptr_t;
#elif (__SIZEOF_INT__ == __SIZEOF_POINTER__)
typedef unsigned int uintptr_t;
#else
#error Add target support here
#endif
void __attribute__((noinline))
foo(uintptr_t l)