[Bug fortran/107441] optional arguments are identified as "present" when missing
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 27 20:52:38 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107441
--- Comment #7 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #6)
> Created attachment 53782 [details]
> Patch
>
> Regtesting the attached patch.
Looks good for the reported issue.
However, while working on variations of the testcase, I hit an ICE for:
subroutine test3 (w)
character, intent(in), value, optional :: w
print*, 'present(w) is ', present(w)
end subroutine test3
It is not new, though.
More information about the Gcc-bugs
mailing list