about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-06-09 14:08:13 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-06-09 14:08:13 +0200
commit48bd8cda09535e2344a7969755d3fd87013f8f9f (patch)
tree91bf20d327f9f97c0249f4acde91baf8d3dfaf3c /ChangeLog
parent6c85cc2852367ea2db91ff6a1fc0f6fc0653788d (diff)
downloadglibc-48bd8cda09535e2344a7969755d3fd87013f8f9f.tar.gz
glibc-48bd8cda09535e2344a7969755d3fd87013f8f9f.tar.xz
glibc-48bd8cda09535e2344a7969755d3fd87013f8f9f.zip
support: Expose TEST_VERIFY_EXIT behavior to GCC optimizers
Previously, the implementation would conditionally exit based on the
status argument, which GCC did not know about.  This leads to
false uninitialized variable warnings when data is accessed after a
TEST_VERIFY_EXIT failure (from code which would never execute).
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 006e7ac28e..0acbe88f30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2017-06-09  Florian Weimer  <fweimer@redhat.com>
+
+	Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
+	* support/support_test_verify_impl.c
+	(support_test_verify_exit_impl): Split from
+	support_test_verify_impl.
+	* support/check.h (TEST_VERIFY): Drop status argument from
+	support_test_verify_impl call.
+	(TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
+	(support_test_verify_impl): Remove status argument.
+	(support_test_verify_exit_impl): Declare.
+
 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
 
 	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove