aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2008-03-04 22:08:08 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2008-03-04 22:08:08 +0000
commit2925e1c8ad156081706df4a2447fb74af08c8a22 (patch)
treea24d55ba89ea62994e4f1e81ca6f5a4931f6f494
parent52abc810fef5953fe9379c906b9c1242df45a171 (diff)
downloadgcc-2925e1c8ad156081706df4a2447fb74af08c8a22.zip
gcc-2925e1c8ad156081706df4a2447fb74af08c8a22.tar.gz
gcc-2925e1c8ad156081706df4a2447fb74af08c8a22.tar.bz2
loop-1.c: Handle i?86-*-mingw* i?86-*-cygwin* as targets declaring functions in assembly.
* gcc.dg/tree-ssa/loop-1.c: Handle i?86-*-mingw* i?86-*-cygwin* as targets declaring functions in assembly. From-SVN: r132873
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/loop-1.c9
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index da4f316..27064e2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-04 Joseph Myers <joseph@codesourcery.com>
+
+ * gcc.dg/tree-ssa/loop-1.c: Handle i?86-*-mingw* i?86-*-cygwin* as
+ targets declaring functions in assembly.
+
2008-03-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR 28322
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c
index 751e3e8..a3d409e 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-1.c
@@ -30,18 +30,19 @@ void xxx(void)
/* { dg-final { scan-tree-dump-times "foo" 5 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
-/* Because hppa and ia64 targets include an external declaration for foo as
- well as the calls we need to look for something more specific then just
- foo in order to count only the calls and not the declaration. */
+/* Because hppa, ia64 and Windows targets include an external declaration
+ for foo as well as the calls we need to look for something more specific
+ than just foo in order to count only the calls and not the declaration. */
/* The SH targets always use separate instructions to load the address
and to do the actual call - bsr is only generated by link time
relaxation. */
/* CRIS keeps the address in a register. */
/* m68k sometimes puts the address in a register, depending on CPU and PIC. */
-/* { dg-final { scan-assembler-times "foo" 5 { xfail hppa*-*-* ia64*-*-* sh*-*-* cris-*-* crisv32-*-* fido-*-* m68k-*-* } } } */
+/* { dg-final { scan-assembler-times "foo" 5 { xfail hppa*-*-* ia64*-*-* sh*-*-* cris-*-* crisv32-*-* fido-*-* m68k-*-* i?86-*-mingw* i?86-*-cygwin* } } } */
/* { dg-final { scan-assembler-times "foo,%r" 5 { target hppa*-*-* } } } */
/* { dg-final { scan-assembler-times "= foo" 5 { target ia64*-*-* } } } */
+/* { dg-final { scan-assembler-times "call\[ \t\]*_foo" 5 { target i?86-*-mingw* i?86-*-cygwin* } } } */
/* { dg-final { scan-assembler-times "jsr|bsrf|blink\ttr?,r18" 5 { target sh*-*-* } } } */
/* { dg-final { scan-assembler-times "Jsr \\\$r" 5 { target cris-*-* } } } */
/* { dg-final { scan-assembler-times "\[jb\]sr" 5 { target fido-*-* m68k-*-* } } } */