Commit 81b58bfd by H.J. Lu Committed by H.J. Lu

Use -fcf-protection=return in cet-intrin-4.c

Since -fcf-protection requires both -mshstk and -mibt, use
-fcf-protection=return with -mshstk in cet-intrin-4.c.

	PR target/84243
	* gcc.target/i386/cet-intrin-4.c (dg-options): Use
	-fcf-protection=return.

From-SVN: r257445
parent 6ad05bcc
2018-02-07 H.J. Lu <hongjiu.lu@intel.com>
PR target/84243
* gcc.target/i386/cet-intrin-4.c (dg-options): Use
-fcf-protection=return.
2018-02-07 Tom de Vries <tom@codesourcery.com>
PR libgomp/84217
......
/* { dg-do compile } */
/* { dg-options "-O -fcf-protection -mshstk" } */
/* { dg-options "-O -fcf-protection=return -mshstk" } */
/* { dg-final { scan-assembler "rdsspd|incsspd\[ \t]+(%|)eax" { target ia32 } } } */
/* { dg-final { scan-assembler "rdssp\[dq]\[ \t]+(%|)\[re]ax" { target { ! ia32 } } } } */
/* { dg-final { scan-assembler "incssp\[dq]\[ \t]+(%|)\[re]di" { target { ! ia32 } } } } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment