[gfortran] Fix PR15963
Paul Brook
paul@codesourcery.com
Mon Jun 28 03:02:00 GMT 2004
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
> testsuite.
>
> - Tobi
>
> 2004-06-22 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
>
> PR fortran/15963
> * expr.c (check_intrinsic_op): Allow comparison of characters.
> Make logic easier.
Capitalise CHARACTER in the error message.
Otherwise, Ok.
Paul
More information about the Gcc-patches
mailing list