savres.c: New test.

* gcc.target/powerpc/savres.c: New test.
	* gcc.target/powerpc/powerpc.exp: Run it.

From-SVN: r186850
This commit is contained in:
Alan Modra 2012-04-26 09:32:12 +09:30 committed by Alan Modra
parent 6d0f7cacc0
commit beee2cf5b7
3 changed files with 1173 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-04-26 Alan Modra <amodra@gmail.com>
* gcc.target/powerpc/savres.c: New test.
* gcc.target/powerpc/powerpc.exp: Run it.
2012-04-26 Hans-Peter Nilsson <hp@axis.com> 2012-04-26 Hans-Peter Nilsson <hp@axis.com>
PR target/53120 PR target/53120

View File

@ -1,4 +1,4 @@
# Copyright (C) 2005, 2007 Free Software Foundation, Inc. # Copyright (C) 2005, 2007, 2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -37,5 +37,14 @@ dg-init
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \ dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
"" $DEFAULT_CFLAGS "" $DEFAULT_CFLAGS
set SAVRES_TEST_OPTS [list -Os -O2 {-Os -mno-multiple} {-O2 -mno-multiple}]
set alti ""
if [check_vmx_hw_available] {
set alti "-maltivec"
}
torture-init
set-torture-options $SAVRES_TEST_OPTS
gcc-dg-runtest [list $srcdir/$subdir/savres.c] $alti
# All done. # All done.
dg-finish dg-finish

File diff suppressed because it is too large Load Diff