re PR target/64056 (gcc.target/i386/chkp-strlen-4.c etc. FAIL)

PR target/64056
	* gcc.target/i386/chkp-strlen-4.c: Add mempcpy target check.
	* gcc.target/i386/chkp-stropt-4.c: Likewise.
	* gcc.target/i386/chkp-stropt-8.c: Likewise.
	* gcc.target/i386/chkp-stropt-12.c: Likewise.
	* gcc.target/i386/chkp-stropt-16.c: Likewise.

From-SVN: r218041
This commit is contained in:
Ilya Enkovich 2014-11-25 09:48:47 +00:00 committed by Ilya Enkovich
parent 26ed270e0f
commit e302f8154a
6 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2014-11-25 Ilya Enkovich <ilya.enkovich@intel.com>
PR target/64056
* gcc.target/i386/chkp-strlen-4.c: Add mempcpy target check.
* gcc.target/i386/chkp-stropt-4.c: Likewise.
* gcc.target/i386/chkp-stropt-8.c: Likewise.
* gcc.target/i386/chkp-stropt-12.c: Likewise.
* gcc.target/i386/chkp-stropt-16.c: Likewise.
2014-10-25 Eric Botcazou <ebotcazou@adacore.com>
* gcc.target/powerpc/longcall-2.c: New test.

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target mpx } */
/* { dg-require-effective-target mempcpy } */
/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen -D_GNU_SOURCE" } */
/* { dg-final { scan-tree-dump-times "strlen" 1 "strlen" } } */
/* { dg-final { cleanup-tree-dump "strlen" } } */

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target mpx } */
/* { dg-require-effective-target mempcpy } */
/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions -D_GNU_SOURCE" } */
/* { dg-final { scan-tree-dump-not "mempcpy_nobnd" "chkpopt" } } */
/* { dg-final { cleanup-tree-dump "chkpopt" } } */

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target mpx } */
/* { dg-require-effective-target mempcpy } */
/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -fchkp-use-fast-string-functions -D_GNU_SOURCE" } */
/* { dg-final { scan-tree-dump "mempcpy_nobnd_nochk" "chkpopt" } } */
/* { dg-final { cleanup-tree-dump "chkpopt" } } */

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target mpx } */
/* { dg-require-effective-target mempcpy } */
/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -D_GNU_SOURCE" } */
/* { dg-final { scan-tree-dump "mempcpy_nochk" "chkpopt" } } */
/* { dg-final { cleanup-tree-dump "chkpopt" } } */

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target mpx } */
/* { dg-require-effective-target mempcpy } */
/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions -D_GNU_SOURCE" } */
/* { dg-final { scan-tree-dump "mempcpy_nobnd" "chkpopt" } } */
/* { dg-final { cleanup-tree-dump "chkpopt" } } */