Add tests for -fcf-protection option and nocf_check attribute.
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Fri, 20 Oct 2017 17:29:02 +0000 (19:29 +0200)
committerIgor Tsimbalist <itsimbal@gcc.gnu.org>
Fri, 20 Oct 2017 17:29:02 +0000 (19:29 +0200)
commitb0926447b568fbcccd8edb6c4173864552711de0
tree75e40ac779adece884a9e8d47b425fd564a0f34b
parentc840bf9bc92e71291a9dc653688bf496aa219b7d
Add tests for -fcf-protection option and nocf_check attribute.

* c-c++-common/fcf-protection-1.c: New test.
* c-c++-common/fcf-protection-2.c: Likewise.
* c-c++-common/fcf-protection-3.c: Likewise.
* c-c++-common/fcf-protection-4.c: Likewise.
* c-c++-common/fcf-protection-5.c: Likewise.
* c-c++-common/attr-nocf-check-1.c: Likewise.
* c-c++-common/attr-nocf-check-2.c: Likewise.
* c-c++-common/attr-nocf-check-3.c: Likewise.

From-SVN: r253949
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/attr-nocf-check-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/attr-nocf-check-2.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/attr-nocf-check-3.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/fcf-protection-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/fcf-protection-2.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/fcf-protection-3.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/fcf-protection-4.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/fcf-protection-5.c [new file with mode: 0644]