Strange issue with ifx compiler and '-assume recursion'

You’re right that it’s the default in the 2018 standard, but Intel Fortran does not default to that unless you ask for -standard-semantics. I was very put out when I learned this.