mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
default.exp (${tool}_target_compile): Use v3_target_compile.
libstdc++-v3:
* testsuite/config/default.exp (${tool}_target_compile): Use
v3_target_compile.
gcc/testsuite:
* lib/target-supports.exp (check_function_available): Declare
function before calling.
From-SVN: r118183
This commit is contained in:
committed by
Joseph Myers
parent
6922b0b9f3
commit
faa9902048
@@ -1,3 +1,8 @@
|
||||
2006-10-30 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* lib/target-supports.exp (check_function_available): Declare
|
||||
function before calling.
|
||||
|
||||
2006-10-30 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/29637
|
||||
|
||||
@@ -936,6 +936,8 @@ proc check_function_available { function } {
|
||||
set exe "function[pid].exe"
|
||||
|
||||
set f [open $src "w"]
|
||||
puts $f "#ifdef __cplusplus\nextern \"C\"\n#endif\n"
|
||||
puts $f "char $function ();\n"
|
||||
puts $f "int main () { $function (); }"
|
||||
close $f
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2006-10-30 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* testsuite/config/default.exp (${tool}_target_compile): Use
|
||||
v3_target_compile.
|
||||
|
||||
2006-10-30 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* src/debug.cc (_Safe_sequence_base::_M_revalidate_singular): Fix
|
||||
|
||||
@@ -28,6 +28,6 @@ load_lib "standard.exp"
|
||||
|
||||
# target-supports.exp uses this
|
||||
proc ${tool}_target_compile { srcfile destfile compile_type options } {
|
||||
target_compile $srcfile $destfile $compile_type $options
|
||||
v3_target_compile $srcfile $destfile $compile_type $options
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user