Hi Iain, > Rainer Orth <r...@cebitec.uni-bielefeld.de> wrote: >>> >>> On Sat, Apr 11, 2020 at 03:46:18PM +0100, Iain Sandoe wrote: >>>> Unfortunately, several targets have ABI constraints that prevent >>>> an indirect tail-call, which results in the PRs compile error. > > So .. after scanning the current published testsuite results I have: > > // See PR94359 - some targets are unable to make general indirect tailcalls > // for example, between different DSOs. > // { dg-xfail-run-if "" { hppa*-*-hpux11* } } > // { dg-xfail-run-if "" { ia64-*-linux-gnu } } > // { dg-xfail-run-if "" { { lp64 && { powerpc*-linux-gnu } } || { *-*-aix* > } } } > // { dg-xfail-run-if "" { sparc-*-solaris2* } }
this is wrong: for one, it needs to allow for 64-bit-default SPARC configurations (i.e. sparcv9-*-* and sparc64-*-*), and AFAICS there's nothing Solaris-specific here. So this should be sparc*-*-* instead. > I’d say it would be a reasonable idea to get this in sooner rather than > later, we > can always increase the list (or a target maintainer can trivially add > their target) Fine with me. If the list gets much longer or the conditions more complex, it might still be worthwhile to use an effective-target keyword instead. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University