summaryrefslogtreecommitdiff
path: root/gcc/cp/mangle.c
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 /gcc/cp/mangle.c
parent8afa707fab8ed182e4b9f9057a7fc4ccfc3faac2 (diff)
downloadgcc-792508b58b76950b1b349aa68e95aa0e49f3cf14.tar.gz
* mangle.c (write_builtin_type): Fix thinko.
From-SVN: r38894
Diffstat (limited to 'gcc/cp/mangle.c')
-rw-r--r--gcc/cp/mangle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index b4bb686d79f..d0c8e69d068 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
{