From 792508b58b76950b1b349aa68e95aa0e49f3cf14 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 11 Jan 2001 03:15:49 +0000 Subject: [PATCH] * mangle.c (write_builtin_type): Fix thinko. From-SVN: r38894 --- gcc/cp/ChangeLog | 2 ++ gcc/cp/mangle.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 66c05b27f45..8a933059fc5 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 2001-01-10 Mark Mitchell + * 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 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 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 { -- 2.30.2