]> git.ipfire.org Git - thirdparty/glibc.git/commit
support: Expose TEST_VERIFY_EXIT behavior to GCC optimizers
authorFlorian Weimer <fweimer@redhat.com>
Fri, 9 Jun 2017 12:08:13 +0000 (14:08 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 9 Jun 2017 12:08:13 +0000 (14:08 +0200)
commit48bd8cda09535e2344a7969755d3fd87013f8f9f
tree91bf20d327f9f97c0249f4acde91baf8d3dfaf3c
parent6c85cc2852367ea2db91ff6a1fc0f6fc0653788d
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).
ChangeLog
support/check.h
support/support_test_verify_impl.c