aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2000-07-25 20:11:44 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2000-07-25 20:11:44 +0000
commit2c05a794ae84153cc6c67464d6ef9d459b45cb28 (patch)
tree73f12fcdd2f24a275981e0436320b5a1c37498f9 /gcc
parent10dd7d29682a320c5b1782686c3fbcb16f06c7e9 (diff)
downloadgcc-2c05a794ae84153cc6c67464d6ef9d459b45cb28.zip
gcc-2c05a794ae84153cc6c67464d6ef9d459b45cb28.tar.gz
gcc-2c05a794ae84153cc6c67464d6ef9d459b45cb28.tar.bz2
implicit1.C: Remove.
* g++.old-deja/g++.ext/implicit1.C: Remove. * g++.old-deja/g++.jason/c2.C: Remove * g++.old-deja/g++.mike/p700.C: Add prototype parameters. * g++.old-deja/g++.pt/crash16.C: Likewise. * g++.old-deja/g++.brendan/crash43.C: Remove -fstrict-prototype. From-SVN: r35252
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog8
-rw-r--r--gcc/testsuite/g++.old-deja/g++.brendan/crash43.C2
-rw-r--r--gcc/testsuite/g++.old-deja/g++.ext/implicit1.C14
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/c2.C18
-rw-r--r--gcc/testsuite/g++.old-deja/g++.mike/p700.C10
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/crash16.C3
6 files changed, 16 insertions, 39 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0d14ba5..49fd868 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,13 @@
2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
+ * g++.old-deja/g++.ext/implicit1.C: Remove.
+ * g++.old-deja/g++.jason/c2.C: Remove
+ * g++.old-deja/g++.mike/p700.C: Add prototype parameters.
+ * g++.old-deja/g++.pt/crash16.C: Likewise.
+ * g++.old-deja/g++.brendan/crash43.C: Remove -fstrict-prototype.
+
+2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
+
* g++.old-deja/g++.other/for2.C: New test.
2000-07-25 Jakub Jelinek <jakub@redhat.com>
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash43.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash43.C
index 5fe5423..d38e1cb 100644
--- a/gcc/testsuite/g++.old-deja/g++.brendan/crash43.C
+++ b/gcc/testsuite/g++.old-deja/g++.brendan/crash43.C
@@ -1,5 +1,5 @@
// Build don't link:
-// Special g++ Options: -g -fno-strict-prototype
+// Special g++ Options: -g
// GROUPS passed old-abort
// excess errors test - XFAIL sparc64-*-elf
extern "C" { typedef int jmp_buf[12]; }
diff --git a/gcc/testsuite/g++.old-deja/g++.ext/implicit1.C b/gcc/testsuite/g++.old-deja/g++.ext/implicit1.C
deleted file mode 100644
index 33b9450..0000000
--- a/gcc/testsuite/g++.old-deja/g++.ext/implicit1.C
+++ /dev/null
@@ -1,14 +0,0 @@
-// test for implicit declaration
-// Special g++ Options: -w -fpermissive
-
-int
-main ()
-{
- return blarg ();
-}
-
-extern "C" int
-blarg (...)
-{
- return 0;
-}
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/c2.C b/gcc/testsuite/g++.old-deja/g++.jason/c2.C
deleted file mode 100644
index ba7f0ed..0000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/c2.C
+++ /dev/null
@@ -1,18 +0,0 @@
-// PRMS Id: 3134
-// g++ understands C redeclaration semantics. Sun CC 2.0.1 doesn't.
-// Special g++ Options:
-// Build don't link:
-
-extern "C" {
- int foo();
- int foo(int);
-
- int bar(int);
- int bar();
-}
-
-main()
-{
- foo (1);
- bar (1);
-}
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p700.C b/gcc/testsuite/g++.old-deja/g++.mike/p700.C
index 7c4cbc8..345831a 100644
--- a/gcc/testsuite/g++.old-deja/g++.mike/p700.C
+++ b/gcc/testsuite/g++.old-deja/g++.mike/p700.C
@@ -1514,9 +1514,9 @@ extern struct _iobuf *c_proto_fdopen ();
extern struct _iobuf *c_proto_freopen ();
extern struct _iobuf *c_proto_popen ();
extern struct _iobuf *tmpfile();
-extern long ftell();
-extern char *fgets();
-extern char *gets();
+extern long ftell(_iobuf *);
+extern char *fgets(char *, int, _iobuf *);
+extern char *gets(char *);
extern char *c_proto_sprintf ();
extern char *ctermid();
extern char *cuserid();
@@ -1820,7 +1820,7 @@ struct tm {
extern struct tm *c_proto_gmtime (), *c_proto_localtime ();
extern char *c_proto_asctime (), *c_proto_ctime ();
extern void c_proto_tzset (), c_proto_tzsetwall ();
-extern int dysize();
+extern int dysize(int);
extern time_t timelocal(), timegm();
@@ -1945,7 +1945,7 @@ struct tms {
};
-clock_t times( );
+clock_t times(tms * );
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash16.C b/gcc/testsuite/g++.old-deja/g++.pt/crash16.C
index ed12b90..45511bb 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/crash16.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/crash16.C
@@ -1,7 +1,8 @@
// Build don't link:
// Special g++ Options:
-extern "C" void qsort();
+extern "C" void qsort(void *base, __SIZE_TYPE__ nmemb, __SIZE_TYPE__ size,
+ int (*compar)(const void *, const void *));
struct R {
int count;