https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105138
--- Comment #1 from Vladimir Fuka <vladimir.fuka at gmail dot com> --- For after naming LOG one gets RECURSIVE FUNCTION LOG(Z) RESULT(RES) COMPLEX,INTENT(IN) :: Z COMPLEX :: RES RES = LOG(Z); END FUNCTION LOG > gfortran-12 -c shadow.f90 /tmp/ccbpyhxl.s: Assembler messages: /tmp/ccbpyhxl.s:3: Error: junk at end of line, first unrecognized character is `(' /tmp/ccbpyhxl.s:4: Error: unrecognized symbol type "" /tmp/ccbpyhxl.s:4: Error: junk at end of line, first unrecognized character is `(' /tmp/ccbpyhxl.s:5: Error: invalid character '(' in mnemonic /tmp/ccbpyhxl.s:36: Error: expected comma after name `__' in .size directive