2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-21 23:51:18 +08:00

p658.C: eliminate <bool.h> use.

* g++.old-deja/g++.mike/p658.C: eliminate <bool.h> use.
        * g++.old-deja/g++.mike/p784.C: Ditto.
        * g++.old-deja/g++.mike/p785.C: Ditto.
Avoid libg++ specific stuff.

From-SVN: r15406
This commit is contained in:
Joe Buck 1997-09-11 15:52:11 +00:00 committed by Jeff Law
parent 0326887985
commit 9687fea5e0
4 changed files with 135 additions and 129 deletions
gcc/testsuite
ChangeLog
g++.old-deja/g++.mike

@ -1,3 +1,9 @@
Thu Sep 11 09:53:40 1997 Joe Buck (jbuck@synopsys.com)
* g++.old-deja/g++.mike/p658.C: eliminate <bool.h> use.
* g++.old-deja/g++.mike/p784.C: Ditto.
* g++.old-deja/g++.mike/p785.C: Ditto.
Fri Sep 5 00:20:39 1997 Richard Henderson (rth@cygnus.com)
* cbrt.c: Tweak to work on more targets.

@ -1,7 +1,7 @@
// prms-id: 658
#include <ostream.h>
#include <bool.h>
extern "C" void abort();
/* We may not find the libg++ <bool.h>. */

@ -129,12 +129,12 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: jason $
// $Revision: 1.6 $
// $Date: 1994/05/16 09:13:02 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:09 $
#include <bool.h>
//# 25 "../../GctSymbol.h" 2
@ -2140,10 +2140,10 @@ inline SubString String::_substr(int first, int l)
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: jason $
// $Revision: 1.6 $
// $Date: 1994/05/16 09:13:02 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:09 $
//# 1 "../../../../../../mips/include/Gct/Object/GctObject.h" 1
// -*- C++ -*-
@ -2165,10 +2165,10 @@ inline SubString String::_substr(int first, int l)
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: jason $
// $Revision: 1.6 $
// $Date: 1994/05/16 09:13:02 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:09 $
//# 1 "/sandbox/wbaker/wbaker0/source/mips/include/tostrstream.h" 1
// -*- C++ -*-
@ -2190,10 +2190,10 @@ inline SubString String::_substr(int first, int l)
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: jason $
// $Revision: 1.6 $
// $Date: 1994/05/16 09:13:02 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:09 $
//# 1 "/projects/gnu-cygnus/gnu-cygnus-8/common/g++-include/strstream.h" 1
// This is part of the iostream library, providing input/output for C++.
@ -2333,10 +2333,10 @@ public:
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: jason $
// $Revision: 1.6 $
// $Date: 1994/05/16 09:13:02 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:09 $
//# 1 "/sandbox/wbaker/wbaker0/source/mips/include/tostrstream.h" 1
// -*- C++ -*-
@ -2365,10 +2365,10 @@ public:
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: jason $
// $Revision: 1.6 $
// $Date: 1994/05/16 09:13:02 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:09 $
//# 1 "/projects/gnu-cygnus/gnu-cygnus-8/common/g++-include/bool.h" 1
@ -2408,10 +2408,10 @@ public:
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: jason $
// $Revision: 1.6 $
// $Date: 1994/05/16 09:13:02 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:09 $
extern "C" {
//# 1 "/sandbox/wbaker/wbaker0/source/mips/include/stuff.h" 1
@ -2423,10 +2423,10 @@ extern "C" {
*/
/*
* $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
* $Revision: 1.6 $
* $Author: jason $
* $Date: 1994/05/16 09:13:02 $
* $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
* $Revision: 1.2 $
* $Author: law $
* $Date: 1997/09/11 15:52:09 $
*/
//# 1 "/sandbox/wbaker/wbaker0/source/mips/include/ansi.h" 1
@ -2452,10 +2452,10 @@ extern "C" {
*/
/*
* $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
* $Author: jason $
* $Revision: 1.6 $
* $Date: 1994/05/16 09:13:02 $
* $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
* $Author: law $
* $Revision: 1.2 $
* $Date: 1997/09/11 15:52:09 $
*
* Modifications
* Wendell C Baker
@ -2639,10 +2639,10 @@ extern ostream& operator<<(ostream&, bool);
// Wendell Baker, Berkeley CAD Group, 1991 (wbaker@ic.Berkeley.EDU)
//
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: jason $
// $Revision: 1.6 $
// $Date: 1994/05/16 09:13:02 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:09 $
//
// unit enum
@ -2972,10 +2972,10 @@ extern ostream& operator<<(ostream&, GttObject&);
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: jason $
// $Revision: 1.6 $
// $Date: 1994/05/16 09:13:02 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p784.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:09 $
//# 1 "/projects/gnu-cygnus/gnu-cygnus-8/common/g++-include/bool.h" 1

@ -30,9 +30,9 @@
//
// See also "sumachine.h"
//
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
//
// This file is expected to be included as the first #include file in
// all .cc files This file should be included in each and every src file
@ -1767,9 +1767,9 @@ extern "C" {
* CPU_TYPE - the architecture (e.g. 68K)
* CPU_MODEL - the architecture instance (e.g. 68010)
*
* $Revision: 1.8 $
* $Date: 1995/05/07 18:57:48 $
* $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
* $Revision: 1.2 $
* $Date: 1997/09/11 15:52:11 $
* $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
*
* This file should be #included as the 1st line of each and every .c file
*
@ -3163,10 +3163,10 @@ extern int sigvec(int sig, struct sigvec* v, struct sigvec* prev);
// Wendell Baker, Berkeley CAD Group, 1991 (wbaker@ic.Berkeley.EDU)
//
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
// Make sure that we get all of the inline functions too but prevent duplicate
// definition warnings.
@ -3216,10 +3216,10 @@ extern int sigvec(int sig, struct sigvec* v, struct sigvec* prev);
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//# 1 "../../../../mips/include/Gct/Reference/GctReferenceCount.h" 1
// -*- C++ -*-
@ -3241,12 +3241,12 @@ extern int sigvec(int sig, struct sigvec* v, struct sigvec* prev);
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
#include <bool.h>
//# 25 "../../../../mips/include/Gct/Reference/GctReferenceCount.h" 2
@ -3271,10 +3271,10 @@ extern int sigvec(int sig, struct sigvec* v, struct sigvec* prev);
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//# 1 "/projects/gnu-cygnus/gnu-cygnus-8/common/g++-include/bool.h" 1
@ -5211,10 +5211,10 @@ inline SubString String::_substr(int first, int l)
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
extern "C" {
//# 1 "/sandbox/wbaker/wbaker0/source/mips/include/stuff.h" 1
@ -5226,10 +5226,10 @@ extern "C" {
*/
/*
* $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
* $Revision: 1.8 $
* $Author: jason $
* $Date: 1995/05/07 18:57:48 $
* $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
* $Revision: 1.2 $
* $Author: law $
* $Date: 1997/09/11 15:52:11 $
*/
//# 1 "/sandbox/wbaker/wbaker0/source/mips/include/ansi.h" 1
@ -5255,10 +5255,10 @@ extern "C" {
*/
/*
* $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
* $Author: jason $
* $Revision: 1.8 $
* $Date: 1995/05/07 18:57:48 $
* $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
* $Author: law $
* $Revision: 1.2 $
* $Date: 1997/09/11 15:52:11 $
*
* Modifications
* Wendell C Baker
@ -5442,10 +5442,10 @@ extern ostream& operator<<(ostream&, bool);
// Wendell Baker, Berkeley CAD Group, 1991 (wbaker@ic.Berkeley.EDU)
//
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//
// unit enum
@ -5596,10 +5596,10 @@ extern void preserve_File_error_handler(const char *message);
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//# 1 "/projects/gnu-cygnus/gnu-cygnus-8/common/g++-include/strstream.h" 1
// This is part of the iostream library, providing input/output for C++.
@ -5739,10 +5739,10 @@ public:
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//# 1 "/sandbox/wbaker/wbaker0/source/mips/include/tostrstream.h" 1
// -*- C++ -*-
@ -5771,10 +5771,10 @@ public:
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//# 1 "/projects/gnu-cygnus/gnu-cygnus-8/common/g++-include/bool.h" 1
@ -6207,10 +6207,10 @@ GctReferenceCount::zero() const
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//# 1 "/projects/gnu-cygnus/gnu-cygnus-8/common/g++-include/bool.h" 1
@ -6243,10 +6243,10 @@ GctReferenceCount::zero() const
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//# 1 "../../../../mips/include/Gct/Object/GctObject.h" 1
// -*- C++ -*-
@ -6268,10 +6268,10 @@ GctReferenceCount::zero() const
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//# 1 "/sandbox/wbaker/wbaker0/source/mips/include/tostrstream.h" 1
// -*- C++ -*-
@ -6508,10 +6508,10 @@ private:
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//# 1 "/projects/gnu-cygnus/gnu-cygnus-8/common/g++-include/bool.h" 1
@ -6631,10 +6631,10 @@ extern unsigned hash(GctRef&);
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//# 1 "../../../../mips/include/Gct/Reference.h" 1
// -*- C++ -*-
@ -6654,10 +6654,10 @@ extern unsigned hash(GctRef&);
// Wendell Baker, Berkeley CAD Group, 1992 (wbaker@ic.Berkeley.EDU)
//
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//
// GctAstType enum
@ -6747,10 +6747,10 @@ protected:
//#pragma interface
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//# 1 "../../../../mips/include/Gct/Reference.h" 1
// -*- C++ -*-
@ -6770,10 +6770,10 @@ protected:
// Wendell Baker, Berkeley CAD Group, 1991 (wbaker@ic.Berkeley.EDU)
//
// $Source: /cvs/cvsfiles/devo/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: jason $
// $Revision: 1.8 $
// $Date: 1995/05/07 18:57:48 $
// $Source: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.mike/p785.C,v $
// $Author: law $
// $Revision: 1.2 $
// $Date: 1997/09/11 15:52:11 $
//
// GctNameType enum