This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [committed] rs6000-power2-?.c testcases
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Fri, 30 Apr 2004 08:17:58 -0400
- Subject: [PATCH] [committed] rs6000-power2-?.c testcases
I had forgot that assemble does -c and compile does -S so this patch
fixes
that for these testcases.
I commited this as obvious.
Thanks,
Andrew Pinski
ChangeLog:
* rs6000-power2-1.c: Change to compile only.
* rs6000-power2-2.c: Likewise.
Patch:
Index: gcc.dg/rs6000-power2-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/rs6000-power2-1.c,v
retrieving revision 1.2
diff -u -p -r1.2 rs6000-power2-1.c
--- gcc.dg/rs6000-power2-1.c 29 Apr 2004 20:23:36 -0000 1.2
+++ gcc.dg/rs6000-power2-1.c 30 Apr 2004 12:16:42 -0000
@@ -1,4 +1,4 @@
-/* { dg-do assemble { target powerpc-*-* rs6000-*-* } } */
+/* { dg-do compile { target powerpc-*-* rs6000-*-* } } */
/* { dg-options "-O3 -mcpu=power2 -fno-schedule-insns -w -mhard-float"
} */
/* This used to ICE as the peephole was not checking to see
if the register is a floating point one (I think this cannot
Index: gcc.dg/rs6000-power2-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/rs6000-power2-2.c,v
retrieving revision 1.2
diff -u -p -r1.2 rs6000-power2-2.c
--- gcc.dg/rs6000-power2-2.c 29 Apr 2004 20:23:36 -0000 1.2
+++ gcc.dg/rs6000-power2-2.c 30 Apr 2004 12:16:42 -0000
@@ -1,4 +1,4 @@
-/* { dg-do assemble { target powerpc-*-* rs6000-*-* } } */
+/* { dg-do compile { target powerpc-*-* rs6000-*-* } } */
/* { dg-options "-O3 -mcpu=power2 -fno-schedule-insns -w -mhard-float"
} */
/* { dg-final { scan-assembler-not "lfd" } } */
/* { dg-final { scan-assembler-not "sfd" } } */
Attachment:
temp.diff.txt
Description: Text document