aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/function-tests.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 05bd803..b9a59d9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2018-08-06 David Malcolm <dmalcolm@redhat.com>
+
+ * function-tests.c (selftest::test_expansion_to_rtl): Call
+ free_after_compilation.
+
2018-08-06 Alan Hayward <alan.hayward@arm.com>
* config/aarch64/aarch64.md: Add clobber highs to tls_desc.
diff --git a/gcc/function-tests.c b/gcc/function-tests.c
index 1b5ebf3..196b3a3 100644
--- a/gcc/function-tests.c
+++ b/gcc/function-tests.c
@@ -661,6 +661,7 @@ test_expansion_to_rtl ()
ASSERT_STR_CONTAINS (dump, ") ;; function \"test_fn\"\n");
free (dump);
+ free_after_compilation (fun);
}
/* Run all of the selftests within this file. */