This is the mail archive of the
mailing list for the GCC project.
Re: [Patch, Fortran] PR33941 - Fix reading of modules with non-character intrinsic operators
- From: Jerry DeLisle <jvdelisle at verizon dot net>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Tue, 30 Oct 2007 14:34:45 -0700
- Subject: Re: [Patch, Fortran] PR33941 - Fix reading of modules with non-character intrinsic operators
- References: <472787DE.email@example.com>
Tobias Burnus wrote:
:ADDPATCH fortran:OK, thanks,
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!