aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
};