This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [gfortran] Fix PR14067


Paul Brook wrote:
2004-05-30 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>

	* trans-const.c (gfc_conv_string_init): Allow variable string
	length lower than initialization string length.


Ok. Please also change the comment to read "padded or truncated to the correct length".


Bud privately pointed out to me that this is invalid code. If we want to accept this code as an extension, I can still commit this patch, but I will try to find the right place in the frontend to emit a warning or an error, respectively. Right now the resolution of DATA statements is somewhat mysterious to me.


- Tobi


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