aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2002-06-05 14:51:59 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2002-06-05 10:51:59 -0400
commitb80ee165bdf5173d9a4f55f41b11a2ceaaae4c18 (patch)
treed92ff297b4ceb08959b6a8c30da99f412cd5ec59
parent3fe3a596d4eab90a78df51d4f5326f674a3e9059 (diff)
downloadgcc-b80ee165bdf5173d9a4f55f41b11a2ceaaae4c18.zip
gcc-b80ee165bdf5173d9a4f55f41b11a2ceaaae4c18.tar.gz
gcc-b80ee165bdf5173d9a4f55f41b11a2ceaaae4c18.tar.bz2
ctype_noninline.h (do_toupper,do_tolower): Call external symbol.
* config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower): Call external symbol. From-SVN: r54284
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/config/os/aix/bits/ctype_noninline.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e52bafa..cce9633 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-05 David Edelsohn <edelsohn@gnu.org>
+
+ * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
+ Call external symbol.
+
2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
diff --git a/libstdc++-v3/config/os/aix/bits/ctype_noninline.h b/libstdc++-v3/config/os/aix/bits/ctype_noninline.h
index 5dff2d1..f0bb31b 100644
--- a/libstdc++-v3/config/os/aix/bits/ctype_noninline.h
+++ b/libstdc++-v3/config/os/aix/bits/ctype_noninline.h
@@ -52,7 +52,7 @@
char
ctype<char>::do_toupper(char __c) const
- { return _toupper(__c); }
+ { return ::toupper((int) __c); }
const char*
ctype<char>::do_toupper(char* __low, const char* __high) const
@@ -67,7 +67,7 @@
char
ctype<char>::do_tolower(char __c) const
- { return _tolower(__c); }
+ { return ::tolower((int) __c); }
const char*
ctype<char>::do_tolower(char* __low, const char* __high) const