aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-01-11 03:15:49 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-01-11 03:15:49 +0000
commit792508b58b76950b1b349aa68e95aa0e49f3cf14 (patch)
treec091256c3df420de9d8a99bd579e0b21fc5291ae
parent8afa707fab8ed182e4b9f9057a7fc4ccfc3faac2 (diff)
downloadgcc-792508b58b76950b1b349aa68e95aa0e49f3cf14.zip
gcc-792508b58b76950b1b349aa68e95aa0e49f3cf14.tar.gz
gcc-792508b58b76950b1b349aa68e95aa0e49f3cf14.tar.bz2
* mangle.c (write_builtin_type): Fix thinko.
From-SVN: r38894
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/mangle.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 66c05b2..8a93305 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,7 @@
2001-01-10 Mark Mitchell <mark@codesourcery.com>
+ * mangle.c (write_builtin_type): Fix thinko.
+
* pt.c (copy_default_args_to_explicit_spec_1): New function.
(copy_default_args_to_explicit_spec): Likewise.
(check_explicit_specialization): Use it.
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index b4bb686..d0c8e69 100644
--- a/gcc/cp/mangle.c
+++ b/gcc/cp/mangle.c
@@ -1,5 +1,5 @@
/* Name mangling for the new standard C++ ABI.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Written by Alex Samuel <sameul@codesourcery.com>
This file is part of GNU CC.
@@ -1450,7 +1450,7 @@ write_builtin_type (type)
integer_type_nodes. */
if (type == wchar_type_node)
write_char ('w');
- if (TYPE_FOR_JAVA (type))
+ else if (TYPE_FOR_JAVA (type))
write_java_integer_type_codes (type);
else
{