[Patch, Fortran] PR33941 - Fix reading of modules with non-character intrinsic operators

Jerry DeLisle jvdelisle@verizon.net
Tue Oct 30 21:38:00 GMT 2007


Tobias Burnus wrote:
> :ADDPATCH fortran:
> 
> This fixes a 4.3 regression. Since a while, gfortran 4.3.0 distinguishes
> between "<" and .LT. (for improved error messages). Since then, "<" is
> written to the .mod file. However, the read-.mod parser did not
> understand "<=" and gave an error. (This only occurs for the few cases
> where for the interface intrinsic operators are used, e.g.
> "character(len=...)" where ... contains e.g. "<".)
> 
> This patch simply adds support for the "/=" etc. intrinsic operators.
> 
> Build and regression tested on x86-64/Linux.
> OK for the trunk?
> 
> A big thank to Dominique for reducing the test case and pointing to the
> exact place where one had to change the source!
> 
> Tobias
> 
OK, thanks,

Jerry



More information about the Fortran mailing list