[Patch, fortran] PR31879 , PR31197 , PR31258 & PR32703 - various character problems

Paul Thomas paulthomas2@wanadoo.fr
Thu Aug 30 22:05:00 GMT 2007


Dominique,
> I have applied (partly by hand) the patch sent privately by Tobias Burnus.
> Apparently I did not make too many mistakes as now PR32703 pass.
>
>   
>> It should be noted that, although PR32703 is fixed, the code that is generated is not correct. Try:
>>     
> ...
>
> For the code g95 gives:
>
> At line 6 of file pr32703_1.f90 (Unit 6)
> Traceback: not available, compile with -ftrace=frame or -ftrace=full
> Fortran runtime error: Inconsistent string size in array constructor
>   
Ahhh, yes.... thanks.

If the results for the call to trim are the same length, the overall 
result is correct.  OK, it's a diagnostic problem.

Why are you having so much difficulty with my patches?  Have I left 
CR-LFs in there?

Paul





More information about the Fortran mailing list