[libgfortran,committed] Fix syntax that IRIX sed doesn't like

FX Coudert fxcoudert@gmail.com
Fri Nov 9 02:13:00 GMT 2007


>> -               | sed 's/ *TRANSFER *// ; s/_.*//'`
>> +               | sed 's/ *TRANSFER *//' | sed 's/_.*//'`
>
> This is perhaps a bit of a micro-optimisation, but would it not be
> faster to use sed -e 's/ *TRANSFER *//' -e 's/_.*//' instead of two  
> seds
> in a pipeline?

Indeed. I won't change that now (this rule is only executed once per  
libgfortran build), but I'll know for next time.

Thanks,
FX



More information about the Gcc-patches mailing list