head	1.2;
access;
symbols
	RELENG_4_11_0_RELEASE:1.1.1.2
	RELENG_4_11:1.1.1.2.0.20
	RELENG_4_11_BP:1.1.1.2
	RELENG_4_10_0_RELEASE:1.1.1.2
	RELENG_4_10:1.1.1.2.0.18
	RELENG_4_10_BP:1.1.1.2
	RELENG_4_9_0_RELEASE:1.1.1.2
	RELENG_4_9:1.1.1.2.0.16
	RELENG_4_9_BP:1.1.1.2
	RELENG_4_8_0_RELEASE:1.1.1.2
	RELENG_4_8:1.1.1.2.0.14
	RELENG_4_8_BP:1.1.1.2
	RELENG_4_7_0_RELEASE:1.1.1.2
	RELENG_4_7:1.1.1.2.0.12
	RELENG_4_7_BP:1.1.1.2
	RELENG_4_6_2_RELEASE:1.1.1.2
	RELENG_4_6_1_RELEASE:1.1.1.2
	RELENG_4_6_0_RELEASE:1.1.1.2
	RELENG_4_6:1.1.1.2.0.10
	RELENG_4_6_BP:1.1.1.2
	BEFORE_3_1_0_snap:1.1.1.2
	RELENG_4_5_0_RELEASE:1.1.1.2
	RELENG_4_5:1.1.1.2.0.8
	RELENG_4_5_BP:1.1.1.2
	gcc_2_95_3_with_sjlj_fix:1.1.1.2
	GCC_2_95_3_WITH_FBSD_MODS:1.1.1.2
	gcc_2_95_3:1.1.1.2
	gcc_2_95_3_test3:1.1.1.2
	gcc_2_95_3_test1:1.1.1.2
	REPOCOPY:1.1.1.2
	RELENG_4_4_0_RELEASE:1.1.1.2
	RELENG_4_4:1.1.1.2.0.6
	RELENG_4_4_BP:1.1.1.2
	RELENG_4_3_0_RELEASE:1.1.1.2
	RELENG_4_3:1.1.1.2.0.4
	RELENG_4_3_BP:1.1.1.2
	BEFORE_GCC_2_95_3:1.1.1.2
	RELENG_4_2_0_RELEASE:1.1.1.2
	RELENG_4_1_1_RELEASE:1.1.1.2
	RELENG_4_1_0_RELEASE:1.1.1.2
	RELENG_4_0_0_RELEASE:1.1.1.2
	RELENG_4:1.1.1.2.0.2
	RELENG_4_BP:1.1.1.2
	EGCS_11x:1.1.1.1.0.2
	gcc_2_95_2:1.1.1.2
	BEFORE_GCC_2_95_1:1.1.1.1
	gcc_2_95_1:1.1.1.2
	egcs_1_1_2:1.1.1.1
	FSF:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2002.05.10.05.26.55;	author obrien;	state dead;
branches;
next	1.1;

1.1
date	99.08.26.09.29.09;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.08.26.09.29.09;	author obrien;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	99.10.16.06.06.44;	author obrien;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2002.05.12.21.50.46;	author obrien;	state dead;
branches;
next	;


desc
@@


1.2
log
@Remove files not part of GCC 3.1.
@
text
@// The -*- C++ -*- dynamic memory management header.
// Copyright (C) 1994, 1996 Free Software Foundation

#ifndef __NEW__
#define __NEW__

#pragma interface "new"
#include <stddef.h>
#include <exception>

extern "C++" {

#ifdef __HONOR_STD
namespace std {
#endif

  class bad_alloc : public exception {
  public:
    virtual const char* what() const throw() { return "bad_alloc"; }
  };

  struct nothrow_t {};
  extern const nothrow_t nothrow;
  typedef void (*new_handler)();
  new_handler set_new_handler (new_handler);

#ifdef __HONOR_STD
} // namespace std
#endif

// replaceable signatures
void *operator new (size_t) throw (std::bad_alloc);
void *operator new[] (size_t) throw (std::bad_alloc);
void operator delete (void *) throw();
void operator delete[] (void *) throw();
void *operator new (size_t, const std::nothrow_t&) throw();
void *operator new[] (size_t, const std::nothrow_t&) throw();
void operator delete (void *, const std::nothrow_t&) throw();
void operator delete[] (void *, const std::nothrow_t&) throw();

// default placement versions of operator new
inline void *operator new(size_t, void *place) throw() { return place; }
inline void *operator new[](size_t, void *place) throw() { return place; }
} // extern "C++"

#endif
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Virgin import of gcc from EGCS 1.1.2
@
text
@@


1.1.1.2
log
@Virgin import of the GCC 2.95.1 compilers
@
text
@d2 1
a2 1
// Copyright (C) 1994, 96-97, 1998 Free Software Foundation
d13 1
d15 1
d27 1
d29 1
@


1.1.1.3
log
@Remove files not part of GCC 3.1.
@
text
@@

