+2019-02-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/87412
+ * gcc.target/i386/indirect-thunk-attr-14.c: Replace
+ -fcf-protection with -fcf-protection=branch.
+ * gcc.target/i386/indirect-thunk-attr-15.c: Likewise.
+ * gcc.target/i386/indirect-thunk-attr-16.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-8.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-9.c: Likewise.
+ * gcc.target/i386/indirect-thunk-extern-10.c: Likewise.
+
2019-02-21 Wilco Dijkstra <wdijkstr@arm.com>
* gcc.target/arm/pr88850-2.c: Block -mfloat-abi override.
/* { dg-do compile { target *-*-linux* } } */
-/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=keep -fcf-protection" } */
+/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=keep -fcf-protection=branch" } */
extern void (*bar) (void);
/* { dg-do compile { target *-*-linux* } } */
-/* { dg-options "-O2 -mindirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=keep -fcf-protection" } */
+/* { dg-options "-O2 -mindirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=keep -fcf-protection=branch" } */
extern void (*bar) (void);
/* { dg-do compile { target *-*-linux* } } */
-/* { dg-options "-O2 -mindirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=keep -fcf-protection" } */
+/* { dg-options "-O2 -mindirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=keep -fcf-protection=branch" } */
extern void (*bar) (void) __attribute__((nocf_check));
/* { dg-do compile { target *-*-linux* } } */
-/* { dg-options "-O2 -mindirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=thunk-extern -fcf-protection" } */
+/* { dg-options "-O2 -mindirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=thunk-extern -fcf-protection=branch" } */
extern void (*bar) (void) __attribute__((nocf_check));
/* { dg-do compile { target *-*-linux* } } */
-/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=thunk-extern -fcf-protection" } */
+/* { dg-options "-O2 -mno-indirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=thunk-extern -fcf-protection=branch" } */
extern void (*bar) (void);
/* { dg-do compile { target *-*-linux* } } */
-/* { dg-options "-O2 -mindirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=thunk-extern -fcf-protection" } */
+/* { dg-options "-O2 -mindirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=thunk-extern -fcf-protection=branch" } */
extern void (*bar) (void);