https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88074
--- Comment #12 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- Note that such issues are not unique to ctan. E.g., compiling __builtin_jn (1000000000, 1e10) will produce such a hang. The difference is that in the ctan case the additional algorithm needed in MPC to avoid huge precision being needed for such cases would be reasonable simple, whereas fast and accurate computation of high-order Bessel functions is much harder (there's some literature on the subject, which I haven't studied in detail, but certainly additional algorithms needed there in MPFR would be much more involved).