[PATCH 5/5] x86/CET: Remove the -mcet command-lint option

2018-04-22 Thread H.J. Lu
With revision 259496: commit b1384095a7c1d06a44b70853372ebe037b2f7867 Author: hjl Date: Thu Apr 19 15:15:04 2018 + x86: Enable -fcf-protection with multi-byte NOPs -fcf-protection no longer depens on -mcet and with revision 259522: commit d59cfa9a4064339cf2bd2da828c4c133f13e57f0 Auth

[PATCH 2/5] Regenerate configure of target libraries

2018-04-22 Thread H.J. Lu
* configure: Regenerated. --- libatomic/configure| 2 +- libbacktrace/configure | 2 +- libgcc/configure | 2 +- libgfortran/configure | 2 +- libgomp/configure | 2 +- libitm/configure | 2 +- libmpx/configure | 2 +- libobjc/configure | 2 +- libquadmath/

[PATCH 1/5] x86/CET: Build target libraries with -mshstk

2018-04-22 Thread H.J. Lu
With revision 259522: commit d59cfa9a4064339cf2bd2da828c4c133f13e57f0 Author: hjl Date: Fri Apr 20 13:30:13 2018 + Define __CET__ for -fcf-protection and remove -mibt -mcet becomes an alias for -mshstk. PR target/85485 * cet.m4 (GCC_CET_FLAGS): Replace -mcet with -msh

[PATCH 3/5] Don't bootstrap GCC with -mcet

2018-04-22 Thread H.J. Lu
With revision 259496: commit b1384095a7c1d06a44b70853372ebe037b2f7867 Author: hjl Date: Thu Apr 19 15:15:04 2018 + x86: Enable -fcf-protection with multi-byte NOPs -fcf-protection no longer requires -mcet. config/ PR target/85485 * bootstrap-cet.mk (STAGE2_CFLAGS): R

[PATCH 4/5] x86/CET tests: Remove -mcet/-mno-cet or replace -mcet with -mshstk

2018-04-22 Thread H.J. Lu
With revision 259496: commit b1384095a7c1d06a44b70853372ebe037b2f7867 Author: hjl Date: Thu Apr 19 15:15:04 2018 + x86: Enable -fcf-protection with multi-byte NOPs -fcf-protection no longer depens on -mcet and with revision 259522: commit d59cfa9a4064339cf2bd2da828c4c133f13e57f0 Auth

[PATCH 0/5] x86/CET: Remove the -mcet command-lint option

2018-04-22 Thread H.J. Lu
With revision 259496: commit b1384095a7c1d06a44b70853372ebe037b2f7867 Author: hjl Date: Thu Apr 19 15:15:04 2018 + x86: Enable -fcf-protection with multi-byte NOPs -fcf-protection no longer depens on -mcet and with revision 259522: commit d59cfa9a4064339cf2bd2da828c4c133f13e57f0 Auth

[PATCH] c/55976 -Werror=return-type should error on returning a value from a void function

2018-04-22 Thread dave . pagan
This patch fixes handling of -Werror=return-type as well as -Wno-return-type. Currently, -Werror=return-type does not turn the warnings into errors and -Wno-return-type does not turn off warning/error. Now they both work as expected. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55976 Initiali