On Mon, May 10, 2021 at 1:06 PM Martin Liška <mli...@suse.cz> wrote: > > Pushed as obvious.
Of course reload.c is a particularly bad choice of file to check for ... ;) Richard. > Thanks, > Martin > > contrib/ChangeLog: > > * gcc_update: Start using reload.c instead of version.c. > --- > contrib/gcc_update | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/contrib/gcc_update b/contrib/gcc_update > index 45a27b76cc3..04dc4907fd9 100755 > --- a/contrib/gcc_update > +++ b/contrib/gcc_update > @@ -243,7 +243,7 @@ apply_patch () { > } > > # Check whether this indeed looks like a local tree. > -if [ ! -f gcc/version.c ]; then > +if [ ! -f gcc/reload.c ]; then > echo "This does not seem to be a GCC tree!" > exit > fi > -- > 2.31.1 >