gcc/testsuite/
* gcc.target/aarch64/aapcs64/aapcs64.exp: (additional_flags_for_func_ret): New variable based on $additional_flags with -fno-use-caller-save. (func-ret-*.c): Use the new variable. Co-Authored-By: Yufeng Zhang <yufeng.zhang@arm.com> From-SVN: r212206
This commit is contained in:
parent
2a4141aa0d
commit
454a17a31e
@ -1,3 +1,11 @@
|
||||
2014-07-01 James Greenhalgh <james.greenhalgh@arm.com>
|
||||
Yufeng Zhang <yufeng.zhang@arm.com>
|
||||
|
||||
* gcc.target/aarch64/aapcs64/aapcs64.exp:
|
||||
(additional_flags_for_func_ret): New variable based on $additional_flags
|
||||
with -fno-use-caller-save.
|
||||
(func-ret-*.c): Use the new variable.
|
||||
|
||||
2014-07-01 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/59637
|
||||
|
@ -48,11 +48,15 @@ foreach src [lsort [glob -nocomplain $srcdir/$subdir/va_arg-*.c]] {
|
||||
}
|
||||
|
||||
# Test function return value.
|
||||
# Disable -fuse-caller-save to prevent the compiler from generating
|
||||
# conflicting code.
|
||||
set additional_flags_for_func_ret $additional_flags
|
||||
append additional_flags_for_func_ret " -fno-use-caller-save"
|
||||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/func-ret-*.c]] {
|
||||
if {[runtest_file_p $runtests $src]} {
|
||||
c-torture-execute [list $src \
|
||||
$srcdir/$subdir/abitest.S] \
|
||||
$additional_flags
|
||||
$additional_flags_for_func_ret
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user