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: r118182
This commit is contained in:
parent
aaf0c39c04
commit
709e1a1a8a
4 changed files with 13 additions and 1 deletions
|
@ -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-29 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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue