This is the mail archive of the
mailing list for the GCC project.
Re: [gfortran] Fix PR15963
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>,patch <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 28 Jun 2004 00:45:07 +0100
- Subject: Re: [gfortran] Fix PR15963
- Organization: CodeSourcery
- References: <40D84428.firstname.lastname@example.org>
On Tuesday 22 June 2004 15:37, Tobias Schlüter wrote:
> PR 15963 was a case where we were restricted expressions had become
> overly restricted: we didn't allow character comparisons. Appended patch
> fixes this. A suggestion for a better error message is welcome, my
> wording makes it seem as if 'a'<2 was allowed.
We can only allow for so much stupidity :)
If the user does try ('a'<2) they'll get a less ambiguous error message.
> Built and tested on i686-pc-linux. I will also add a testcase to the
> - Tobi
> 2004-06-22 Tobias Schlueter <email@example.com>
> PR fortran/15963
> * expr.c (check_intrinsic_op): Allow comparison of characters.
> Make logic easier.
Capitalise CHARACTER in the error message.