* gcc.target/powerpc/htm-builtin-1.c (dg-do) Change to assemble.
authorPeter Bergner <bergner@vnet.ibm.com>
Thu, 26 Feb 2015 03:06:38 +0000 (21:06 -0600)
committerPeter Bergner <bergner@gcc.gnu.org>
Thu, 26 Feb 2015 03:06:38 +0000 (21:06 -0600)
(dg-options): Add -save-temps.
(dg-final): Add cleanup-saved-temps.

From-SVN: r220998

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/htm-builtin-1.c

index 29fa2f0c29fdb1acc0bb530ae7a77637f97a445f..a0f39711027d1f0592376b98fabb1c1a07a4dd7b 100644 (file)
@@ -1,3 +1,9 @@
+2015-02-25  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * gcc.target/powerpc/htm-builtin-1.c (dg-do) Change to assemble.
+       (dg-options): Add -save-temps.
+       (dg-final): Add cleanup-saved-temps.
+
 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
        * gcc.target/powerpc/htm-builtin-1.c: Fix tcheck expect value.
index 62d64e6129c28986f9ba31c7a5b709c5d339aa26..3e4b72919e944b0bb7451203d555565d74d9f198 100644 (file)
@@ -1,7 +1,7 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do assemble { target { powerpc*-*-* } } } */
 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
 /* { dg-require-effective-target powerpc_htm_ok } */
-/* { dg-options "-O2 -mhtm" } */
+/* { dg-options "-O2 -mhtm -save-temps" } */
 
 /* { dg-final { scan-assembler-times "tbegin\\." 1 } } */
 /* { dg-final { scan-assembler-times "tend\\." 2 } } */
@@ -49,3 +49,4 @@ void use_builtins (long *p, char code, long *a, long *b)
   __builtin_set_tfhar (a[22]);
   __builtin_set_tfiar (a[23]);
 }
+/* { dg-final { cleanup-saved-temps } } */