This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [gfortran] Fix PR15963


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


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