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: [Patch, Fortran] PR33941 - Fix reading of modules with non-character intrinsic operators


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


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