aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>2000-06-11 03:38:05 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-06-11 03:38:05 +0000
commit88fa51976cafaf6cd937fa0335c75685e07e963f (patch)
tree4e47906b6b081417ee1dcf20fc5c7e4b58178164 /gcc
parent7775bd6bd5cac4f30da82c9a1980198460b98875 (diff)
downloadgcc-88fa51976cafaf6cd937fa0335c75685e07e963f.zip
gcc-88fa51976cafaf6cd937fa0335c75685e07e963f.tar.gz
gcc-88fa51976cafaf6cd937fa0335c75685e07e963f.tar.bz2
Revert last patch
From-SVN: r34486
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.ext/pretty2.C4
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/decl4.C2
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/static8.C9
3 files changed, 11 insertions, 4 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C b/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C
index d3e8f10..8f69bf4 100644
--- a/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C
+++ b/gcc/testsuite/g++.old-deja/g++.ext/pretty2.C
@@ -1,4 +1,4 @@
-// Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+// Copyright (C) 1999 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 21 Nov 1999 <nathan@acm.org>
// make sure __FUNCTION__ and __PRETTY_FUNCTION__ work in member functions
@@ -67,7 +67,7 @@ X::operator int ()
printf ("__FUNCTION__ %s\n", function);
printf ("__PRETTY_FUNCTION__ %s\n", pretty);
- if (strcmp (function, "operator i"))
+ if (strcmp (function, "__opi"))
bad = true;
if (strcmp (pretty, "X::operator int ()"))
bad = true;
diff --git a/gcc/testsuite/g++.old-deja/g++.other/decl4.C b/gcc/testsuite/g++.old-deja/g++.other/decl4.C
index a66a848..d148452 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/decl4.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/decl4.C
@@ -4,4 +4,4 @@
// Simplified for testsuite by Alexandre Oliva
struct foo { operator long double(); };
-int bar(int __opr); // gets bogus error
+int bar(int __opr); // gets bogus error - XFAIL *-*-*
diff --git a/gcc/testsuite/g++.old-deja/g++.other/static8.C b/gcc/testsuite/g++.old-deja/g++.other/static8.C
index deabc08..6158f50 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/static8.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/static8.C
@@ -1,6 +1,13 @@
// Build don't link:
+// Special g++ Options: -fno-squangle
// Origin: Mark Mitchell <mark@codesourcery.com>
+#if (!defined (__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100)
+#define NAME(OLD, NEW) OLD
+#else
+#define NAME(OLD, NEW) NEW
+#endif /* (!defined (__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100) */
+
static unsigned int strlen (const char*) {} // ERROR - previous declaration
-int _Z6strlenPKc = 0; // ERROR - duplicate declaration
+int NAME (strlen__FPCc, _Z6strlenPKc) = 0; // ERROR - duplicate declaration