aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-12-01 16:53:57 +0000
committerIan Lance Taylor <ian@airs.com>2010-12-01 16:53:57 +0000
commite5e19edd4853ac4add8c4db7fa02607a869ebfb1 (patch)
tree42b9690825f083552640b641daa72537aafa94ef
parent9a5ce24c61f4e00384172807992e253ea0400874 (diff)
downloadgdb-e5e19edd4853ac4add8c4db7fa02607a869ebfb1.zip
gdb-e5e19edd4853ac4add8c4db7fa02607a869ebfb1.tar.gz
gdb-e5e19edd4853ac4add8c4db7fa02607a869ebfb1.tar.bz2
* testsuite/icf_virtual_function_folding_test.cc (class Bar): Add
virtual destructor.
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/testsuite/icf_virtual_function_folding_test.cc1
2 files changed, 6 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 49592dc..0d706f8 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,10 @@
2010-12-01 Ian Lance Taylor <iant@google.com>
+ * testsuite/icf_virtual_function_folding_test.cc (class Bar): Add
+ virtual destructor.
+
+2010-12-01 Ian Lance Taylor <iant@google.com>
+
* README: Update compilers known to work and fail.
2010-11-23 Matthias Klose <doko@ubuntu.com>
diff --git a/gold/testsuite/icf_virtual_function_folding_test.cc b/gold/testsuite/icf_virtual_function_folding_test.cc
index 1ba3e73..ba063c8 100644
--- a/gold/testsuite/icf_virtual_function_folding_test.cc
+++ b/gold/testsuite/icf_virtual_function_folding_test.cc
@@ -36,6 +36,7 @@ namespace
class Bar
{
public:
+ virtual ~Bar() { }
virtual int fn1();
};