From f4e1881041d1458b50cba9e892ed94c483ea64ec Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Wed, 21 Oct 2009 18:13:34 +0000 Subject: [PATCH] copyprop.C: Use include to define free(). 2009-10-21 Steve Ellcey * g++.dg/tree-ssa/copyprop.C: Use include to define free(). From-SVN: r153067 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/tree-ssa/copyprop.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ec986f3270b..75eb83d76ee 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-10-21 Steve Ellcey + + * g++.dg/tree-ssa/copyprop.C: Use include to define free(). + 2009-10-21 Joseph Myers * gcc.dg/tls/pie-1.c: New test. diff --git a/gcc/testsuite/g++.dg/tree-ssa/copyprop.C b/gcc/testsuite/g++.dg/tree-ssa/copyprop.C index e785755eb07..5ba193618dd 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/copyprop.C +++ b/gcc/testsuite/g++.dg/tree-ssa/copyprop.C @@ -7,8 +7,8 @@ #include #include #include +#include using namespace std; -extern void free (void *); template _FIter lower_bound(_FIter, _FIter, _Tp&); template struct hash { }; template struct _Hashtable_node {