[Patch, Fortran] PR33941 - Fix reading of modules with non-character intrinsic operators
Tobias Burnus
burnus@net-b.de
Tue Oct 30 19:37:00 GMT 2007
: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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: module.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20071030/6d3eb5da/attachment.ksh>
More information about the Fortran
mailing list