re PR testsuite/41913 (ERROR: tcl error sourcing gcc.dg/lto/lto.exp)

2009-11-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/41913
	* lib/lto.exp (scan-symbol): Properly check if target exist.

From-SVN: r154296
This commit is contained in:
H.J. Lu 2009-11-18 16:02:17 +00:00 committed by H.J. Lu
parent 661e733051
commit b31c74fe48
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-11-18 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/41913
* lib/lto.exp (scan-symbol): Properly check if target exist.
2009-11-18 Janus Weil <janus@gcc.gnu.org>
PR fortran/42072

View File

@ -520,7 +520,7 @@ proc scan-symbol { args } {
verbose -log "nm is $nm"
}
set output_file $execname
set output_file "[glob -nocomplain $execname]"
if { $output_file == "" } {
fail "scan-symbol $args: dump file does not exist"
return