PATCH: PR testsuite/41913: ERROR: tcl error sourcing gcc.dg/lto/lto.exp

Janis Johnson janis187@us.ibm.com
Wed Nov 18 17:37:00 GMT 2009


On Wed, 2009-11-18 at 07:19 -0800, H.J. Lu wrote:
> I will check it in as an obvious patch.

Sorry for the long delay, I was sick and am still catching up.
The patch is OK.

Janis

> ---
> On Wed, Nov 11, 2009 at 7:11 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> > Hi,
> >
> > scan-symbol should check if target exists before running nm on it. OK
> > for trunk?
> >
> > Thanks.
> >
> >
> > H.J.
> > ---
> > 2009-11-11  H.J. Lu  <hongjiu.lu@intel.com>
> >
> >        PR testsuite/41913
> >        * lib/lto.exp (scan-symbol): Properly check if target exist.
> >
> > --- gcc/testsuite/lib/lto.exp.foo       2009-10-13 11:16:55.000000000 -0700
> > +++ gcc/testsuite/lib/lto.exp   2009-11-11 06:59:43.000000000 -0800
> > @@ -493,7 +493,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
> >
> 
> 
> 



More information about the Gcc-patches mailing list