https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115997
Bug ID: 115997 Summary: Findloc does not find the result of a function with a deferred-length character return value Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mscfd at gmx dot net Target Milestone: --- Created attachment 58705 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58705&action=edit testcase Invoking findloc with an array of character values and a search value obtained by a function call (which returns a deferred-length character value) always yields 0, even if the value is present in the array.