https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112873
--- Comment #14 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #12) > Note to myself to fix this. Comparing the documentation of the degree trigonometric intrinsics with F2023, I see that these need only support real arguments. Currently intrinsic.texi claims that these accept also complex arguments, but these are rejected, as intrinsic.cc invokes gfc_check_fn_r/gfc_check_fn_d for argument checking. This was likely an oversight we can fix in passing. (COTAN accepts real and complex and is a GNU extension, thus it is fine.)