This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] PR 44352: Fix String-assigning ICE with statement functions


Paul Richard Thomas wrote:
Build on x86-64-linux.
OK for 4.4, 4.5 and the trunk
Yes, of course. OK for 4.4-4.6
Thanks. Trunk commit: Rev. 167569.

+	  arglen = TYPE_MAX_VALUE (TYPE_DOMAIN (type));
will do great things for deferred length characters :-)

:-) Talking about allocatables: Maybe you should first add allocatable scalars before you continue to struggle on with deferred-length characters.


Regarding the code snipped above: one convenient thing about statement functions is:

"C423 (R420) The length speci ed for a character statement function or for a statement function dummy argument of type character shall be a constant expression."

Tobias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]