https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84346
Bug ID: 84346 Summary: Statement functions should not accept keywords Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: kargl at gcc dot gnu.org Target Milestone: --- A statement function always has an implicit interface. A function with an implicit interface should not accept keywords. program foo real :: x, y integer :: i, j fcn(x,i) = x * i y = 42. j = 2 print *, fcn(i=j, x=y) ! This violates a constraint. end program foo