public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <oliva@dcc.unicamp.br>
To: Joe Buck <jbuck@synopsys.com>
Cc: law@cygnus.com, egcs@cygnus.com
Subject: Re: testing consistency
Date: Wed, 10 Sep 1997 22:23:00 -0000	[thread overview]
Message-ID: <or3enc1l80.fsf@sunsite.dcc.unicamp.br> (raw)
In-Reply-To: <199709102302.QAA21704@atrus.synopsys.com>

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

Joe Buck writes:

> * For the first four tests, replace them with the preprocessor output
>   using libg++, or else move them to the libg++ test suite.

Here are patches for these four tests.  The crash* ones may be
affected by the changes, but since the current snapshot passes them,
and it has passed them for a long time, I don't think they are that
relevant any more.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
Universidade Estadual de Campinas, SP, Brasil

[-- Attachment #2: g++tsts.diff --]
[-- Type: text/x-diff, Size: 2040 bytes --]

--- gcc/testsuite/g++.old-deja/g++.brendan/crash20.C~	Mon Aug 25 12:34:53 1997
+++ gcc/testsuite/g++.old-deja/g++.brendan/crash20.C	Thu Sep 11 02:06:17 1997
@@ -1,6 +1,7 @@
 // Build don't link: 
 // GROUPS passed old-abort
-#include <Complex.h>
+#include <complex>
+typedef complex<double> Complex;
 
 Complex ComputeVVself()
 {
--- gcc/testsuite/g++.old-deja/g++.brendan/crash30.C~	Mon Aug 25 12:34:53 1997
+++ gcc/testsuite/g++.old-deja/g++.brendan/crash30.C	Thu Sep 11 02:06:51 1997
@@ -1,9 +1,9 @@
 // Build don't link: 
 // GROUPS passed old-abort
-#include <String.h>
+#include <string>
 
 main(void) {
 
-  String a[] = {"Hello"};
+  string a[] = {"Hello"};
 
 }
--- gcc/testsuite/g++.old-deja/g++.brendan/crash39.C~	Thu Sep 11 02:14:06 1997
+++ gcc/testsuite/g++.old-deja/g++.brendan/crash39.C	Thu Sep 11 02:13:31 1997
@@ -1,8 +1,34 @@
 // Build don't link: 
 // Special g++ Options: -w
 // GROUPS passed old-abort
-#include <GetOpt.h>
-#include <String.h>
+//#include <GetOpt.h>
+#include <std.h>
+#include <stdio.h>
+
+class GetOpt
+{
+private:
+  static char *nextchar;
+   enum OrderingEnum { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER };
+   OrderingEnum ordering;
+  static int first_nonopt;
+  static int last_nonopt;
+  void exchange (char **argv);
+public:
+  char *optarg;
+  int optind;
+  int opterr;
+  
+  int    nargc;
+  char **nargv;
+  const char  *noptstring;
+  
+  GetOpt (int argc, char **argv, const char *optstring);
+  int operator () (void);
+};
+//end <GetOpt.h>
+#include <string>
+
 class foo {public: foo () {}};
 class bar {public: bar (foo& dflt);};
 class baz: public bar {public: baz (): bar (foo ()) {}};
--- gcc/testsuite/g++.old-deja/g++.law/operators4.C~	Mon Aug 25 12:36:02 1997
+++ gcc/testsuite/g++.old-deja/g++.law/operators4.C	Thu Sep 11 02:06:12 1997
@@ -5,7 +5,8 @@
 // Subject:  delete [size] pointer; Problem
 // Message-ID: <92Sep3.220137edt.30@jarvis.csri.toronto.edu>
 
-#include <Complex.h>
+#include <complex>
+typedef complex<double> Complex;
 #include <stdio.h>
 
 class Vector {

  parent reply	other threads:[~1997-09-10 22:23 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-04 18:48 Joe Buck
1997-09-04 20:13 ` Dave Avery
1997-09-04 21:11   ` Jim Wilson
1997-09-05  8:56     ` Joe Buck
1997-09-05  8:58   ` Joe Buck
1997-09-05  7:26 ` Joel Sherrill
1997-09-05 12:44   ` Jeffrey A Law
1997-09-05 16:40     ` Joel Sherrill
1997-09-10 15:21 ` Jeffrey A Law
1997-09-10 16:15   ` Joe Buck
1997-09-10 16:22     ` Jeffrey A Law
1997-09-10 22:23     ` Alexandre Oliva [this message]
1997-09-11  9:23       ` Jeffrey A Law
1997-09-11 10:01     ` Jeffrey A Law
1997-09-05 18:09 meissner
1997-09-05 18:55 ` Joel Sherrill
1997-09-10 22:37 Aaron Jackson
1997-09-11  0:40 ` Jim Wilson
1997-09-11  9:23 ` Jeffrey A Law
1997-09-11 10:17 ` H.J. Lu
1997-09-11 11:05   ` Jeffrey A Law
1997-09-11 11:05     ` H.J. Lu
1997-09-11 11:05       ` Jeffrey A Law
1997-09-11 11:36         ` H.J. Lu
1997-09-11 11:36           ` Jeffrey A Law
1997-09-11 12:54             ` H.J. Lu
1997-09-11 13:20               ` Jeffrey A Law
1997-09-11 14:01                 ` Per Bothner
1997-09-11 15:09                   ` Richard Henderson
1997-09-18 12:57                   ` Bob Glickstein
1997-09-11 13:37             ` Jim Wilson
1997-09-11 14:11               ` Per Bothner
1997-09-11 15:01               ` Jeffrey A Law
1997-09-11 16:13                 ` Joe Buck
1997-09-11 17:08                 ` Jim Wilson
1997-09-11 18:39                   ` Joe Buck
1997-09-11 13:20           ` Per Bothner
1997-09-12  7:27         ` Paul Koning
1997-09-11 12:57   ` Ian Lance Taylor
1997-09-11 13:51     ` H.J. Lu
1997-09-11 13:54       ` Ian Lance Taylor
1997-09-11 13:59         ` H.J. Lu
1997-09-11 14:04           ` Ian Lance Taylor
1997-09-11 19:01   ` Jim Wilson
1997-09-14 12:06 ` Joel Sherrill
1997-09-14 12:19   ` Jeffrey A Law
1997-09-14 12:44     ` Joel Sherrill
1997-09-18 22:56       ` Jeffrey A Law
1997-09-19  8:04         ` H.J. Lu
1997-09-19  8:15           ` Jeffrey A Law
1997-09-19 12:19           ` Jim Wilson
1997-09-19 13:14             ` Joe Buck
1997-09-19 14:51               ` Dave Love
1997-09-19 17:12               ` Jeffrey A Law
1997-09-11 11:36 Mike Stump
1997-09-11 12:47 ` Jim Wilson
1997-09-11 15:27 meissner
1997-09-11 16:06 ` Doug Evans
1997-09-11 17:08 ` Joe Buck
     [not found] <199709112227.SAA01970cygnus.egcs@tweedledumb.cygnus.com>
1997-09-11 16:31 ` not-for-mail
1997-09-11 21:33 Peter Seebach
1997-09-15 14:44 Alexandre Oliva
     [not found] <oren6qtfsg.fsf@sunsite.dcc.unicamp.br>
1997-09-18 20:37 ` Jeffrey A Law
1997-09-18 21:32   ` Alexandre Oliva
1997-09-18 22:24     ` Jeffrey A Law
1997-09-18 21:42 Mike Stump
1997-09-18 21:50 ` Jeffrey A Law
1997-09-18 21:55 ` Joe Buck
1997-09-19  9:52 Kaveh R. Ghazi
1997-09-19 10:20 ` Joe Buck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=or3enc1l80.fsf@sunsite.dcc.unicamp.br \
    --to=oliva@dcc.unicamp.br \
    --cc=egcs@cygnus.com \
    --cc=jbuck@synopsys.com \
    --cc=law@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).