summaryrefslogtreecommitdiffstats
path: root/gcc/cp/mangle.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-11 03:15:49 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-11 03:15:49 +0000
commit3a5c4f9f3b5dcf832f51026c2cd31eaa9d235153 (patch)
treec091256c3df420de9d8a99bd579e0b21fc5291ae /gcc/cp/mangle.c
parentfbe96aa1795d9ffd17816238c58bcdf1f04aec34 (diff)
downloadppe42-gcc-3a5c4f9f3b5dcf832f51026c2cd31eaa9d235153.tar.gz
ppe42-gcc-3a5c4f9f3b5dcf832f51026c2cd31eaa9d235153.zip
* mangle.c (write_builtin_type): Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38894 138bc75d-0d04-0410-961f-82ee72b054a4
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
{
OpenPOWER on IntegriCloud