* mangle.c (write_builtin_type): Fix thinko.
authorMark Mitchell <mark@codesourcery.com>
Thu, 11 Jan 2001 03:15:49 +0000 (03:15 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 11 Jan 2001 03:15:49 +0000 (03:15 +0000)
From-SVN: r38894

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

index 66c05b27f456ee92321b1ccb40cb854617d591d3..8a933059fc50c287c453dfa3170860de82505538 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 b4bb686d79f1157fb17952613d9a565752cb5995..d0c8e69d068bd6b1fb7a4ac6999220c39348a779 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
        {