diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2b99c09c6c5..6b4de177bd5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2003-09-05 Andrew Pinski + + * g++.old-deja/g++.ext/pretty2.C: Update for change + in __FUNCTION__. + * g++.old-deja/g++.ext/pretty3.C: Likewise. + 2003-09-05 Nathan Sidwell PR c++/11922 diff --git a/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C b/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C index c309dc8d62d..26d4d71cdf6 100644 --- a/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C +++ b/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C @@ -40,7 +40,7 @@ X::~X () printf ("__FUNCTION__ %s\n", function); printf ("__PRETTY_FUNCTION__ %s\n", pretty); - if (strcmp (function, "X")) + if (strcmp (function, "~X")) bad = true; if (strcmp (pretty, "X::~X()")) bad = true; diff --git a/gcc/testsuite/g++.old-deja/g++.ext/pretty3.C b/gcc/testsuite/g++.old-deja/g++.ext/pretty3.C index d8ae3c8218a..6348ae1ee67 100644 --- a/gcc/testsuite/g++.old-deja/g++.ext/pretty3.C +++ b/gcc/testsuite/g++.old-deja/g++.ext/pretty3.C @@ -33,7 +33,7 @@ template<> void f1 (int) printf ("__FUNCTION__ %s\n", function); printf ("__PRETTY_FUNCTION__ %s\n", pretty); - if (strcmp (function, "f1")) + if (strcmp (function, "f1")) bad = true; if (strcmp (pretty, "void f1(T) [with T = int]")) bad = true;