summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-23 09:29:12 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-23 09:29:12 +0000
commit132731fb3e0ef4cd3a4093ec672eee93c7ec6f59 (patch)
treecd9fed76eef7c163e8d26f73d7f31748c4018d22
parent243bf81ab45b7e312e09b4a4ad0c8ac242cfa001 (diff)
downloadgcc-132731fb3e0ef4cd3a4093ec672eee93c7ec6f59.tar.gz
* gcc.target/i386/chkp-strlen-2.c: Define _GNU_SOURCE.
* gcc.target/i386/chkp-strlen-4.c: Move the definition of _GNU_SOURCE from compile flags to the source. * gcc.target/i386/chkp-stropt-12.c: Ditto. * gcc.target/i386/chkp-stropt-16.c: Ditto. * gcc.target/i386/chkp-stropt-4.c: Ditto. * gcc.target/i386/chkp-stropt-8.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232762 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog20
-rw-r--r--gcc/testsuite/gcc.target/i386/chkp-strlen-2.c1
-rw-r--r--gcc/testsuite/gcc.target/i386/chkp-strlen-4.c3
-rw-r--r--gcc/testsuite/gcc.target/i386/chkp-stropt-12.c3
-rw-r--r--gcc/testsuite/gcc.target/i386/chkp-stropt-16.c3
-rw-r--r--gcc/testsuite/gcc.target/i386/chkp-stropt-4.c3
-rw-r--r--gcc/testsuite/gcc.target/i386/chkp-stropt-8.c3
7 files changed, 26 insertions, 10 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7cb07394bfc..f6f0fdba59b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,13 @@
+2016-01-23 Uros Bizjak <ubizjak@gmail.com>
+
+ * gcc.target/i386/chkp-strlen-2.c: Define _GNU_SOURCE.
+ * gcc.target/i386/chkp-strlen-4.c: Move the definition of
+ _GNU_SOURCE from compile flags to the source.
+ * gcc.target/i386/chkp-stropt-12.c: Ditto.
+ * gcc.target/i386/chkp-stropt-16.c: Ditto.
+ * gcc.target/i386/chkp-stropt-4.c: Ditto.
+ * gcc.target/i386/chkp-stropt-8.c: Ditto.
+
2016-01-22 Jakub Jelinek <jakub@redhat.com>
PR target/69432
@@ -43,9 +53,9 @@
2016-01-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR testsuite/67489
- * gcc.target/powerpc/p8vector-builtin-8.c: Remove { target int128
- } from dg-do compile directive, and instead add {
- dg-require-effective-target int128 }.
+ * gcc.target/powerpc/p8vector-builtin-8.c: Remove { target int128 }
+ from dg-do compile directive, and instead add
+ { dg-require-effective-target int128 }.
2016-01-20 Martin Sebor <msebor@redhat.com>
@@ -60,7 +70,7 @@
2016-01-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/65996
- gfortran.dg/pr65996.f90: New test.
+ * gfortran.dg/pr65996.f90: New test.
2016-01-21 Dominik Vogt <vogt@linux.vnet.ibm.com>
@@ -111,7 +121,7 @@
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
Sebastian Pop <s.pop@samsung.com>
- * gcc.dg/graphite/pr68976.c: New test.
+ * gcc.dg/graphite/pr68976.c: New test.
2016-01-21 Jakub Jelinek <jakub@redhat.com>
diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c
index 9f584efee0a..470ac4715a9 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-2.c
@@ -3,6 +3,7 @@
/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen" } */
/* { dg-final { scan-tree-dump-not "strlen" "strlen" } } */
+#define _GNU_SOURCE
#include "string.h"
char *test (char *str1, char *str2)
diff --git a/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c b/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c
index 794c8a860da..dbf568b8418 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-strlen-4.c
@@ -1,8 +1,9 @@
/* { dg-do compile { target { ! x32 } } } */
/* { dg-require-effective-target mempcpy } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen -D_GNU_SOURCE" } */
+/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-strlen" } */
/* { dg-final { scan-tree-dump-times "strlen" 1 "strlen" } } */
+#define _GNU_SOURCE
#include "string.h"
char * test (char *str1, char *str2)
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c
index 898e7768b30..638810b8be5 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-12.c
@@ -1,8 +1,9 @@
/* { dg-do compile { target { ! x32 } } } */
/* { dg-require-effective-target mempcpy } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions -D_GNU_SOURCE" } */
+/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
/* { dg-final { scan-tree-dump-not "mempcpy_nobnd" "chkpopt" } } */
+#define _GNU_SOURCE
#include "string.h"
void test (void *buf1, void *buf2, size_t len)
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c
index 891adb4f293..b0f43a6880d 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-16.c
@@ -1,8 +1,9 @@
/* { dg-do compile { target { ! x32 } } } */
/* { 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-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -fchkp-use-fast-string-functions" } */
/* { dg-final { scan-tree-dump "mempcpy_nobnd_nochk" "chkpopt" } } */
+#define _GNU_SOURCE
#include "string.h"
void test (int *buf1, int *buf2, size_t len)
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c
index 3faa58b0aea..216ed521edb 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-4.c
@@ -1,8 +1,9 @@
/* { dg-do compile { target { ! x32 } } } */
/* { dg-require-effective-target mempcpy } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions -D_GNU_SOURCE" } */
+/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-nochk-string-functions" } */
/* { dg-final { scan-tree-dump "mempcpy_nochk" "chkpopt" } } */
+#define _GNU_SOURCE
#include "string.h"
void test (int *buf1, int *buf2, size_t len)
diff --git a/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c b/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c
index 01bff6930a3..afde3c92b9f 100644
--- a/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c
+++ b/gcc/testsuite/gcc.target/i386/chkp-stropt-8.c
@@ -1,8 +1,9 @@
/* { dg-do compile { target { ! x32 } } } */
/* { dg-require-effective-target mempcpy } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions -D_GNU_SOURCE" } */
+/* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -fdump-tree-chkpopt -fchkp-use-fast-string-functions" } */
/* { dg-final { scan-tree-dump "mempcpy_nobnd" "chkpopt" } } */
+#define _GNU_SOURCE
#include "string.h"
void test (int *buf1, int *buf2, size_t len)