aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tinfo2.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@casey.soma.redhat.com>2000-06-09 16:23:47 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-06-09 12:23:47 -0400
commitea11ca7ec12df7f53d437a738f984e26ef7ab85b (patch)
tree0298128e12299bf28f76cc3ef5ad263e2fa59173 /gcc/cp/tinfo2.cc
parent6efa15825eea54fa389d7b385f4f87e689ab61bc (diff)
downloadgcc-ea11ca7ec12df7f53d437a738f984e26ef7ab85b.zip
gcc-ea11ca7ec12df7f53d437a738f984e26ef7ab85b.tar.gz
gcc-ea11ca7ec12df7f53d437a738f984e26ef7ab85b.tar.bz2
timevar.def: Add TV_EXPAND.
* timevar.def: Add TV_EXPAND. * timevar.c (timevar_print): Update timing information. * calls.c (try_to_integrate): Push to TV_INTEGRATION for inlining. * stmt.c (expand_return): Check for error_mark_node. cp/: * semantics.c (expand_body): Push to TV_EXPAND. * optimize.c (optimize_function): Push to TV_INTEGRATION. * decl.c (start_function): Always call announce_function. * tinfo2.cc: Just declare abort. From-SVN: r34470
Diffstat (limited to 'gcc/cp/tinfo2.cc')
-rw-r--r--gcc/cp/tinfo2.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cp/tinfo2.cc b/gcc/cp/tinfo2.cc
index f89980a..39fe98c 100644
--- a/gcc/cp/tinfo2.cc
+++ b/gcc/cp/tinfo2.cc
@@ -28,10 +28,12 @@
// the GNU General Public License.
#include <stddef.h>
-#include <stdlib.h> // for abort
#include "tinfo.h"
#include "new" // for placement new
+// We can't rely on having stdlib.h if we're freestanding.
+extern "C" void abort ();
+
using std::type_info;
#if !defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100