Commit 35b954c1 by Anthony Green Committed by Anthony Green

Testsuite cleanups for moxie.

From-SVN: r156081
parent c04f9611
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> 2010-01-20 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42717 PR tree-optimization/42717
......
...@@ -46,6 +46,8 @@ extern void abort (void); ...@@ -46,6 +46,8 @@ extern void abort (void);
/* No pic register. */ /* No pic register. */
#elif defined(__mn10300__) #elif defined(__mn10300__)
/* No pic register. */ /* No pic register. */
#elif defined(__moxie__)
/* No pic register. */
#elif defined(__hppa__) #elif defined(__hppa__)
/* PIC register is %r27 or %r19, but is used even without -fpic. */ /* PIC register is %r27 or %r19, but is used even without -fpic. */
#elif defined(__pdp11__) #elif defined(__pdp11__)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* This is supposed to succeed only if /* This is supposed to succeed only if
the target defines HANDLE_PRAGMA_PACK_PUSH_POP the target defines HANDLE_PRAGMA_PACK_PUSH_POP
and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION. */ 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 push bar
#define foo _Pragma ("pack(push)") #define foo _Pragma ("pack(push)")
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O1 -fschedule-insns2 -fsched2-use-traces" } */ /* { 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); extern double f (double x);
......
...@@ -43,4 +43,6 @@ int bar3 (int x) ...@@ -43,4 +43,6 @@ int bar3 (int x)
// Likewise for m68k targets. // Likewise for m68k targets.
// { dg-final { if [string match fido-*-* $target_triplet ] {return} } } // { dg-final { if [string match fido-*-* $target_triplet ] {return} } }
// { dg-final { if [string match m68k-*-* $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" } } // { dg-final { scan-assembler "baz3.*baz3.*baz3.*baz3.*baz3.*baz3" } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment