On Jan 14 2020, Jeff Law wrote: > diff --git a/libiberty/aclocal.m4 b/libiberty/aclocal.m4 > index bf8a907100f..381ed3b27e3 100644 > --- a/libiberty/aclocal.m4 > +++ b/libiberty/aclocal.m4 > @@ -147,7 +147,7 @@ if test $ac_cv_os_cray = yes; then > fi > > AC_CACHE_CHECK(stack direction for C alloca, ac_cv_c_stack_direction, > -[AC_TRY_RUN([find_stack_direction () > +[AC_TRY_RUN([__attribute__ ((noclone,noinline)) find_stack_direction ()
That makes the test GCC specific, which doesn't actually need the test in the first place. That looks pointless. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."