re PR fortran/27715 (Extented ASCII characters lead to wrong "CASE" selection)
authorThomas Koenig <Thomas.Koenig@online.de>
Thu, 1 Jun 2006 19:23:56 +0000 (19:23 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 1 Jun 2006 19:23:56 +0000 (19:23 +0000)
commit47fe00d8f5ae7ba8e66f1c97f969eb87a4695ffe
tree5efb54dbef143558582bc811fea1879150fca2a4
parentdf5c71ac3c955306a63994af858694a29b2e6217
re PR fortran/27715 (Extented ASCII characters lead to wrong "CASE" selection)

2006-06-01  Thomas Koenig  <Thomas.Koenig@online.de>

PR fortran/27715
* arith.c:  Cast the characters from the strings to unsigned
char to avoid values less than 0 for extended ASCII.

2006-06-01  Thomas Koenig  <Thomas.Koenig@online.de>

PR fortran/27715
* gfortran.dg/extended_char_comparison_1.f:  New test.

From-SVN: r114317
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/extended_char_comparison_1.f [new file with mode: 0644]