* gcc.target/powerpc/htm-builtin-1.c (dg-do) Change to assemble.

(dg-options): Add -save-temps.
	(dg-final): Add cleanup-saved-temps.

From-SVN: r220998
This commit is contained in:
Peter Bergner 2015-02-25 21:06:38 -06:00 committed by Peter Bergner
parent 073a9e6c5c
commit f2903bd861
2 changed files with 9 additions and 2 deletions

View 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.

View 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 } } */