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:
parent
6d0f7cacc0
commit
beee2cf5b7
@ -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
|
||||||
|
@ -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
|
||||||
|
1158
gcc/testsuite/gcc.target/powerpc/savres.c
Normal file
1158
gcc/testsuite/gcc.target/powerpc/savres.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user