https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119836
--- Comment #7 from kargls at comcast dot net --- On 4/16/25 17:33, jvdelisle at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119836 > > --- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- > I get one test failure: > > FAIL: gfortran.dg/do_concurrent_all_clauses.f90 -O (test for errors, line > 21) (snip) > With the patch we accept the max function. The MAX function is used as an > example of an elemental function which is PURE. All elemental functions are > PURE unless specifically declared as IMPURE. > > I will also adjust this test case accordingly. Any other thoughts? Indeed, the testcase needs adjusting. I didn't have time today to fix the same issue that will occur with subroutines. I have a notion on what needs to be done, but it's complicated. I also need to expand Harald's example to pure and elemental internal functions and module procedures. I can return to this on Sat.