]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/19946 (cris-elf testsuite failure: demangle/abi_examples/01.cc and 02)
authorJakub Jelinek <jakub@redhat.com>
Tue, 15 Feb 2005 00:09:51 +0000 (01:09 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 15 Feb 2005 00:09:51 +0000 (01:09 +0100)
PR libstdc++/19946
* testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
demangler change.
* testsuite/demangle/abi_examples/02.cc (main): Likewise.

From-SVN: r95052

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/demangle/abi_examples/01.cc
libstdc++-v3/testsuite/demangle/abi_examples/02.cc

index d78e44c994f1a3fbd1fe7289138f796e6f73b988..8a94f30013db1fc74b3fb2db53aea3ca63c69324 100644 (file)
@@ -1,3 +1,10 @@
+2005-02-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR libstdc++/19946
+       * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
+       demangler change.
+       * testsuite/demangle/abi_examples/02.cc (main): Likewise.
+
 2005-02-08  Mark Mitchell  <mark@codesourcery.com>
 
        * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
index e7c41e7b966f7fa3fd7ca3842dc64bc9ff748914..3e26eb9a659b0b1d8341de4e81e87778e668e5fd 100644 (file)
@@ -1,6 +1,6 @@
 // 2003-02-26 Benjamin Kosnik <bkoz@redhat.com>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -31,7 +31,9 @@ int main()
   // extern "C" function 
   // extern "C" float f(void) { };
   // T f
-  verify_demangle("f", "error code = -2: invalid mangled name");
+  // f is ambiguous between "C" external name and internal built-in type
+  // name.  The ambiguity is resolved to the built-in type name.
+  verify_demangle("f", "float");
 
   return 0;
 }
index bbae9381e7d8a7284eac113cd4661cd1aa54762c..094b777f45f936f4b2b0cc1ff6d939ce792dd99d 100644 (file)
@@ -1,6 +1,6 @@
 // 2003-02-26 Benjamin Kosnik <bkoz@redhat.com>
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -31,7 +31,9 @@ int main()
   // or variable "f" 
   // int f;
   // B f
-  verify_demangle("f", "error code = -2: invalid mangled name");
+  // f is ambiguous between variable external name and internal built-in type
+  // name.  The ambiguity is resolved to the built-in type name.
+  verify_demangle("f", "float");
 
   return 0;
 }