diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-10 09:16:08 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-10 09:16:08 +0000 |
commit | bb430bb307c0bd019952b1016db9a48b766b2aa1 (patch) | |
tree | 56b31878cadc82b98b563f8fefcec525b7876ab3 /libgfortran/intrinsics | |
parent | 7c9ed47a4f9f6bbc6115e68057ab442ac996395c (diff) | |
download | gcc-bb430bb307c0bd019952b1016db9a48b766b2aa1.tar.gz |
* intrinsics/selected_char_kind.c (selected_char_kind): Fix
return value for ISO_10646.
* gfortran.dg/selected_char_kind_4.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160527 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/intrinsics')
-rw-r--r-- | libgfortran/intrinsics/selected_char_kind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/intrinsics/selected_char_kind.c b/libgfortran/intrinsics/selected_char_kind.c index 35cf453402a..25259979fcb 100644 --- a/libgfortran/intrinsics/selected_char_kind.c +++ b/libgfortran/intrinsics/selected_char_kind.c @@ -40,7 +40,7 @@ selected_char_kind (gfc_charlen_type name_len, char *name) || (len == 7 && strncasecmp (name, "default", 7) == 0)) return 1; else if (len == 9 && strncasecmp (name, "iso_10646", 9) == 0) - return 1; + return 4; else return -1; } |