]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Testsuite cleanups for moxie.
authorAnthony Green <green@moxielogic.com>
Wed, 20 Jan 2010 14:17:00 +0000 (14:17 +0000)
committerAnthony Green <green@gcc.gnu.org>
Wed, 20 Jan 2010 14:17:00 +0000 (14:17 +0000)
From-SVN: r156081

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20020312-2.c
gcc/testsuite/gcc.dg/cpp/_Pragma6.c
gcc/testsuite/gcc.dg/pr19340.c
gcc/testsuite/gcc.dg/weak/typeof-2.c

index 6d7c3a6189dad34931afe163ae6a6d73b08d877c..90c8ca73bd3b93983aea2c3bc266093860b32178 100644 (file)
@@ -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
index 057c19e1a9988d9789a413dd8864f6a48c4559da..bf8225a1a6b5f29d16257eae4c3b91d3e08825c2 100644 (file)
@@ -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__)
index 986b40cb1567090824995c20b749da9a4eb1e9b4..a5324f2f9be3fd061dd15d2d12ddf1f72fc55024 100644 (file)
@@ -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)")
index 844d80677d0418ea45baa503d21b789996bd538e..58a919b4586a890467d2caad89dd449ce24f059b 100644 (file)
@@ -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);
 
index 5d97dc5c240e6912d9548e9839fbab3c2c306f42..63f427fc8c990c819180a6f8241be78d4b92d9c6 100644 (file)
@@ -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" } }