summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2015-04-24 11:10:24 +0200
committerFlorian Weimer <fweimer@redhat.com>2015-04-24 17:06:39 +0200
commited159672eb3cd650a32b7e5cb4d5ec1fe0e63802 (patch)
tree7e1346b78f9b222d1c787ec177ca7d87bd8cb7c8 /ChangeLog
parent8666ab5c42b0959129f3c37950eef5db2e5f0fea (diff)
downloadglibc-ed159672eb3cd650a32b7e5cb4d5ec1fe0e63802.tar.gz
glibc-ed159672eb3cd650a32b7e5cb4d5ec1fe0e63802.tar.xz
glibc-ed159672eb3cd650a32b7e5cb4d5ec1fe0e63802.zip
Do not build with -Winline
-Winline causes architecture- and optimization-dependent build failures
due to -Werror.  -Winline warns about inlining decisions based on
branch hints, in effect preventing the use of inline functions in
header files (because they might be called on unlikely branches, leading
to a decision not to inline).

The option was apparently added to the glibc build at a time when GCC
did not support the always_inline attribute.  With current GCC versions,
inlining failure for functions declared always_inline will receive a
warning under -Wattributes, which is enabled by default, so -Winline
appears unnecessary.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 97fb9feb08..f515a2a43e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-24  Florian Weimer  <fweimer@redhat.com>
+
+	* Makeconfig (+gccwarn): Remove -Winline.
+
 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
 	* sysdeps/s390/fpu/libm-test-upls: Regenerate.