diff options
author | Anthony Green <green@moxielogic.com> | 2010-01-20 14:17:00 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2010-01-20 14:17:00 +0000 |
commit | 35b954c12d0d5473a5d51fe1ff167aa0774c1a9c (patch) | |
tree | f1e872b2581293344723b2b631f190bdf8cc824e /gcc | |
parent | c04f9611f56686117b256646fa685bd09a4a712b (diff) | |
download | gcc-35b954c12d0d5473a5d51fe1ff167aa0774c1a9c.zip gcc-35b954c12d0d5473a5d51fe1ff167aa0774c1a9c.tar.gz gcc-35b954c12d0d5473a5d51fe1ff167aa0774c1a9c.tar.bz2 |
Testsuite cleanups for moxie.
From-SVN: r156081
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20020312-2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/_Pragma6.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr19340.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/weak/typeof-2.c | 2 |
5 files changed, 14 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6d7c3a6..90c8ca7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2010-01-20 Anthony Green <green@moxielogic.com> + + * gcc.dg/cpp/_Pragma6.c: Skip this test for moxie-*-* (no + pack(push) pragma). + * gcc.dg/pr19340.c: Skip this test for moxie-*-* (no scheduling). + * gcc.dg/20020312-2.c: Port this to the moxie core. + * gcc.dg/weak/typeof-2.c: Ditto. + 2010-01-20 Richard Guenther <rguenther@suse.de> PR tree-optimization/42717 diff --git a/gcc/testsuite/gcc.dg/20020312-2.c b/gcc/testsuite/gcc.dg/20020312-2.c index 057c19e..bf8225a 100644 --- a/gcc/testsuite/gcc.dg/20020312-2.c +++ b/gcc/testsuite/gcc.dg/20020312-2.c @@ -46,6 +46,8 @@ extern void abort (void); /* No pic register. */ #elif defined(__mn10300__) /* No pic register. */ +#elif defined(__moxie__) +/* No pic register. */ #elif defined(__hppa__) /* PIC register is %r27 or %r19, but is used even without -fpic. */ #elif defined(__pdp11__) diff --git a/gcc/testsuite/gcc.dg/cpp/_Pragma6.c b/gcc/testsuite/gcc.dg/cpp/_Pragma6.c index 986b40c..a5324f2 100644 --- a/gcc/testsuite/gcc.dg/cpp/_Pragma6.c +++ b/gcc/testsuite/gcc.dg/cpp/_Pragma6.c @@ -2,7 +2,7 @@ /* This is supposed to succeed only if the target defines HANDLE_PRAGMA_PACK_PUSH_POP and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION. */ -/* { dg-do compile { target { ! { powerpc-ibm-aix* *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf m32c-*-* *-*-vxworks } } } } */ +/* { dg-do compile { target { ! { powerpc-ibm-aix* *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf m32c-*-* *-*-vxworks moxie-*-* } } } } */ #define push bar #define foo _Pragma ("pack(push)") diff --git a/gcc/testsuite/gcc.dg/pr19340.c b/gcc/testsuite/gcc.dg/pr19340.c index 844d806..58a919b 100644 --- a/gcc/testsuite/gcc.dg/pr19340.c +++ b/gcc/testsuite/gcc.dg/pr19340.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O1 -fschedule-insns2 -fsched2-use-traces" } */ -/* { dg-skip-if "No scheduling" { mmix-*-* cris-*-* crisv32-*-* fido-*-* m68k-*-* m32c-*-* avr-*-* } { "*" } { "" } } */ +/* { dg-skip-if "No scheduling" { mmix-*-* cris-*-* crisv32-*-* fido-*-* m68k-*-* m32c-*-* avr-*-* moxie-*-* } { "*" } { "" } } */ extern double f (double x); diff --git a/gcc/testsuite/gcc.dg/weak/typeof-2.c b/gcc/testsuite/gcc.dg/weak/typeof-2.c index 5d97dc5..63f427f 100644 --- a/gcc/testsuite/gcc.dg/weak/typeof-2.c +++ b/gcc/testsuite/gcc.dg/weak/typeof-2.c @@ -43,4 +43,6 @@ int bar3 (int x) // Likewise for m68k targets. // { dg-final { if [string match fido-*-* $target_triplet ] {return} } } // { dg-final { if [string match m68k-*-* $target_triplet ] {return} } } +// Likewise for moxie targets. +// { dg-final { if [string match moxie-*-* $target_triplet ] {return} } } // { dg-final { scan-assembler "baz3.*baz3.*baz3.*baz3.*baz3.*baz3" } } |