[Patch, fortran] PR31540 - [Regression 4.2, 4.3] character((constant expression)) for external function

Paul Richard Thomas paul.richard.thomas@gmail.com
Sun May 6 11:30:00 GMT 2007


:ADDPATCH fortran:

This is a rather trivial patch that corrects a failure to resolve the
character length of external functions.  Strictly speaking, in this
particular case, it is simplification that is needed.  However, it
does no harm to do the whole job.  The testscase is the reporter's.

Regtested on x86_ia64/FC5 - OK for trunk and 4.2, being a regression
relative to 4.1?

Paul

2007-05-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31540
	* resolve.c (resolve_fl_procedure): Resolve constant character
	lengths.

2007-05-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31540
	* gfortran.dg/char_result_3.f90: New test.


-- 
"Success is the ability to go from one failure to another with no loss
of enthusiasm."  -  Winston Churchill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr31540.diff
Type: text/x-patch
Size: 1311 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070506/5ebd3d6f/attachment.bin>


More information about the Gcc-patches mailing list