https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86655
--- Comment #6 from emsr at gcc dot gnu.org --- Also, the legendre functions should not be onstrained on the argument x either. They are just polynomials. The recursions are numerically good in this range (|x| > 1) also.