This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch,gfortran] PR 24503: Character functions of non-constant length
On Wed, Oct 26, 2005 at 01:58:44PM +0300, Erik Edelmann wrote:
> On Tue, Oct 25, 2005 at 10:44:26AM -0400, Jakub Jelinek wrote:
> > Please test the same when using ENTRY without RESULT.
>
> Ok. I tried, and it didn't work:
<...>
> Am I doing something wrong, or are ENTRY in functions (of any
> type) broken in gfortran? (Since this is the first time in my
> life I use ENTRY, it's not unlikely that I'm doing something
> wrong. Both testcases compile and run without trouble in Absoft
> and Intel compilers, but that does, after all, not prove
> anything)
It seems that it's only in modules that ENTRY statements are
completely broken (PR 24558). For external functions, ENTRY:s
work for other cases, but not (yet) for functions of type
CHARACTER(len=<non-constant>). If it passes testing, I'll post
and extended version of my patch to address this problem tonight.
Erik