* mangle.c (write_builtin_type): Fix thinko.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jan 2001 03:15:49 +0000 (03:15 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jan 2001 03:15:49 +0000 (03:15 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38894 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/mangle.c

index 66c05b2..8a93305 100644 (file)
@@ -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.
index b4bb686..d0c8e69 100644 (file)
@@ -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
        {