Hi Tobias, The patch has been updated. Could you please take a look when you have a chance?
> Can you add the PR number to the commit log ("PR fortran/113152")? Done. > Can you also update the documentation – as you already did for ATAND? I think that's quite a lot of wording... Hoping to tackle that in another patch, if that's okay. > As now the builtins are available, how about updating mathbuiltins.def > already? Done. > As the comment states, it seems to make sense to put the new symbols at > the end. GCC generates for "module m" a module file (.mod) which is a > compress lisp-like file. That one also stores the intrinsic procedure's > ID – and it makes sense to be upward compatible by appending the new > ones at the end. Done. > Testcases: I think it makes sense to check – either in this patch or in > the follow up – that -std=f2018 gives a diagnostic that the intrinsic is > unsupported while -std=f2023 supports it. Done. When testing invalid input, I'm only testing the first half of the sentence. The original test case used `.*`, which defaults to a greedy match and caused issues. I attempted to use `.*?` for a non-greedy match, but it didn't resolve the problem. > But this change should be should also mentioned in the ChangeLog to > avoid going through the change letter by letter to understand whether > there was a significant change or it was just reformatted. Done. Yuao
0001-fortran-add-constant-input-support-for-trig-function.patch
Description: 0001-fortran-add-constant-input-support-for-trig-function.patch