From: Jakub Jelinek Date: Tue, 15 Feb 2005 00:09:51 +0000 (+0100) Subject: re PR libstdc++/19946 (cris-elf testsuite failure: demangle/abi_examples/01.cc and 02) X-Git-Tag: releases/gcc-3.4.4~221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a0cee11f66bc125cc833005d0762cf049594b83;p=thirdparty%2Fgcc.git re PR libstdc++/19946 (cris-elf testsuite failure: demangle/abi_examples/01.cc and 02) 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 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d78e44c994f1..8a94f30013db 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2005-02-15 Jakub Jelinek + + 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 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*. diff --git a/libstdc++-v3/testsuite/demangle/abi_examples/01.cc b/libstdc++-v3/testsuite/demangle/abi_examples/01.cc index e7c41e7b966f..3e26eb9a659b 100644 --- a/libstdc++-v3/testsuite/demangle/abi_examples/01.cc +++ b/libstdc++-v3/testsuite/demangle/abi_examples/01.cc @@ -1,6 +1,6 @@ // 2003-02-26 Benjamin Kosnik -// 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; } diff --git a/libstdc++-v3/testsuite/demangle/abi_examples/02.cc b/libstdc++-v3/testsuite/demangle/abi_examples/02.cc index bbae9381e7d8..094b777f45f9 100644 --- a/libstdc++-v3/testsuite/demangle/abi_examples/02.cc +++ b/libstdc++-v3/testsuite/demangle/abi_examples/02.cc @@ -1,6 +1,6 @@ // 2003-02-26 Benjamin Kosnik -// 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; }