[FORTRAN PATCH] Reduce gfc_match_strings usage (part 2)
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Sun Mar 11 15:30:00 GMT 2007
Roger Sayle wrote:
> This is more ambitious patch proposes eliminating the intrinsic_operators
> table from the gfortran front-end, and instead using a more efficient
> pattern matcher implementation in gfc_match_intrinsic_op. In addition to
> the expected performance improvement, this implementation simplifies the
> task of adding support for ".xor." as a GNU fortran extension.
As an aside to all the discussion about the implementation strategy for
the matchers, I'd like to point out that standard Fortran has a .xor.
operator, which is called .neqv.. Unless you intend to give .xor. a
different precedence, its implementation should be trivial (unless I
underestimate the difficulties a collision with a user-defined operator
could bring), so I'm wondering what kind of difficulties are you seeing?
Cheers,
- Tobi
More information about the Gcc-patches
mailing list