pr49551.c: Needs -fdata-sections.
authorNathan Sidwell <nathan@gcc.gnu.org>
Mon, 24 Aug 2015 14:06:12 +0000 (14:06 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 24 Aug 2015 14:06:12 +0000 (14:06 +0000)
* gcc/testsuite/gcc.dg/pr49551.c: Needs -fdata-sections.

* gcc/testsuite/gcc.dg/pr64935-2.c: Needs scheduling.

* gcc/testsuite/gcc.dg/torture/pr66101.c: Needs nonlocal goto.
* gcc/testsuite/gcc.dg/torture/pr63738.c: Likewise.
* gcc/testsuite/gcc.dg/torture/pr64728.c: Likewise.
* gcc/testsuite/gcc.dg/pr63748.c: Likewise.
* gcc/testsuite/gcc.dg/20020312-2.c: Likewise.

* gcc/testsuite/gcc.dg/torture/pr66123.c: Needs label_values.

* gcc/testsuite/gcc.dg/torture/pr41261.c: Needs profiling.
* gcc/testsuite/gcc.dg/pr26570.c: Likewise.
* gcc/testsuite/gcc.dg/pr61776.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-11.c: Likewise.
* gcc/testsuite/gcc.dg/gomp/pr34610.c: Likewise.
* gcc/testsuite/gcc.dg/pr54121.c: Likewise.
* gcc/testsuite/gcc.dg/20050325-1.c: Likewise.
* gcc/testsuite/gcc.dg/pr66899.c: Likewise.
* gcc/testsuite/gcc.dg/pr48770.c: Likewise.
* gcc/testsuite/gcc.dg/pr24225.c: Likewise.

* gcc/testsuite/gcc.dg/pr27531-1.c: Needs io.
* gcc/testsuite/gcc.dg/pr44606.c: Likewise.

* gcc/testsuite/gcc.dg/tree-ssa/nonzero-1.c: Needs weak.

* gcc/testsuite/gcc.dg/pr51990.c: Needs alloca.

* gcc/testsuite/gcc.misc-tests/options.exp: Disable profiling
check for nvptx.

From-SVN: r227128

24 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20020312-2.c
gcc/testsuite/gcc.dg/20050325-1.c
gcc/testsuite/gcc.dg/gomp/pr34610.c
gcc/testsuite/gcc.dg/pr24225.c
gcc/testsuite/gcc.dg/pr26570.c
gcc/testsuite/gcc.dg/pr27531-1.c
gcc/testsuite/gcc.dg/pr44606.c
gcc/testsuite/gcc.dg/pr48770.c
gcc/testsuite/gcc.dg/pr49551.c
gcc/testsuite/gcc.dg/pr51990.c
gcc/testsuite/gcc.dg/pr54121.c
gcc/testsuite/gcc.dg/pr61776.c
gcc/testsuite/gcc.dg/pr63748.c
gcc/testsuite/gcc.dg/pr64935-2.c
gcc/testsuite/gcc.dg/pr66899.c
gcc/testsuite/gcc.dg/torture/pr41261.c
gcc/testsuite/gcc.dg/torture/pr63738.c
gcc/testsuite/gcc.dg/torture/pr64728.c
gcc/testsuite/gcc.dg/torture/pr66101.c
gcc/testsuite/gcc.dg/torture/pr66123.c
gcc/testsuite/gcc.dg/tree-ssa/nonzero-1.c
gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-11.c
gcc/testsuite/gcc.misc-tests/options.exp

index 36fc88ffa9a00399da40b8b42019b561127d6ff1..77c8c23db7f74cc029f9dbcca64cf332dff8378a 100644 (file)
@@ -1,3 +1,38 @@
+2015-08-24  Nathan Sidwell  <nathan@acm.org>
+
+       * gcc/testsuite/gcc.dg/pr49551.c: Needs -fdata-sections.
+
+       * gcc/testsuite/gcc.dg/pr64935-2.c: Needs scheduling.
+
+       * gcc/testsuite/gcc.dg/torture/pr66101.c: Needs nonlocal goto.
+       * gcc/testsuite/gcc.dg/torture/pr63738.c: Likewise.
+       * gcc/testsuite/gcc.dg/torture/pr64728.c: Likewise.
+       * gcc/testsuite/gcc.dg/pr63748.c: Likewise.
+       * gcc/testsuite/gcc.dg/20020312-2.c: Likewise.
+
+       * gcc/testsuite/gcc.dg/torture/pr66123.c: Needs label_values.
+
+       * gcc/testsuite/gcc.dg/torture/pr41261.c: Needs profiling.
+       * gcc/testsuite/gcc.dg/pr26570.c: Likewise.
+       * gcc/testsuite/gcc.dg/pr61776.c: Likewise.
+       * gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-11.c: Likewise.
+       * gcc/testsuite/gcc.dg/gomp/pr34610.c: Likewise.
+       * gcc/testsuite/gcc.dg/pr54121.c: Likewise.
+       * gcc/testsuite/gcc.dg/20050325-1.c: Likewise.
+       * gcc/testsuite/gcc.dg/pr66899.c: Likewise.
+       * gcc/testsuite/gcc.dg/pr48770.c: Likewise.
+       * gcc/testsuite/gcc.dg/pr24225.c: Likewise.
+
+       * gcc/testsuite/gcc.dg/pr27531-1.c: Needs io.
+       * gcc/testsuite/gcc.dg/pr44606.c: Likewise.
+
+       * gcc/testsuite/gcc.dg/tree-ssa/nonzero-1.c: Needs weak.
+
+       * gcc/testsuite/gcc.dg/pr51990.c: Needs alloca.
+
+       * gcc/testsuite/gcc.misc-tests/options.exp: Disable profiling
+       check for nvptx.
+
 2015-08-24  Tom de Vries  <tom@codesourcery.com>
 
        PR tree-optimization/65468
        * gcc.dg/pr51990-2.c: Likewise.
        * gcc.dg/vla-22.c: Likewise.
 
-2015-08-22  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+2015-08-22  Manuel LÃ\83³pez-IbÃ\83¡Ã\83±ez  <manu@gcc.gnu.org>
 
        * gcc.dg/cpp/multiline-2.c: Add column numbers.
        * gcc.dg/dollar.c: Likewise.
 
        * gcc.target/i386/avx2-vect-shift.c: New test.
 
-2015-08-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+2015-08-11  Manuel LÃ\83³pez-IbÃ\83¡Ã\83±ez  <manu@gcc.gnu.org>
 
        PR c/66098
        PR c/66711
        PR fortran/64022
        * gfortran.dg/ieee/large_1.f90: Adjust test.
 
-2015-08-05  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+2015-08-05  Manuel LÃ\83³pez-IbÃ\83¡Ã\83±ez  <manu@gcc.gnu.org>
            Jeff Law  <law@redhat.com>
 
        PR c/16351
        outer loop.
 
 2015-07-28  Luis Felipe Strano Moraes  <luis.strano@gmail.com>
-           Manuel López-Ibáñez  <manu@gcc.gnu.org>
+           Manuel LÃ\83³pez-IbÃ\83¡Ã\83±ez  <manu@gcc.gnu.org>
 
        * gcc.dg/parm-incomplete-1.c: Update.
        * gcc.dg/pr18809-1.c: Update.
        * gcc.dg/graphite/uns-interchange-9.c: New test.
        * gcc.dg/graphite/uns-interchange-mvt.c: New test.
 
-2015-07-24  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+2015-07-24  Manuel LÃ\83³pez-IbÃ\83¡Ã\83±ez  <manu@gcc.gnu.org>
 
        PR c++/64079
        * c-c++-common/Wunused-function-1.c: New.
        PR tree-optimization/66718
        * gcc.dg/vect/vect-126.c: New test.
 
-2015-07-08  Carlos Sánchez de La Lama  <csanchezdll@gmail.com>
+2015-07-08  Carlos SÃ\83¡nchez de La Lama  <csanchezdll@gmail.com>
 
        * g++.dg/debug/dwarf2/*.C: generate dwarf-2 debug information
        even when dwarf-2 is not the default.
        * g++.dg/cpp0x/constexpr-friend-3.C: New.
        * g++.dg/cpp0x/constexpr-friend-2.C: Adjust.
 
-2015-06-29  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+2015-06-29  Manuel LÃ\83³pez-IbÃ\83¡Ã\83±ez  <manu@gcc.gnu.org>
 
        PR fortran/66605
        * gfortran.dg/wunused-parameter.f90: New test.
        * gcc.dg/stack-usage-1.c: Add SIZE values for V850, MN10300,
        H8300 and M32R targets.
 
-2015-06-24  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+2015-06-24  Manuel LÃ\83³pez-IbÃ\83¡Ã\83±ez  <manu@gcc.gnu.org>
 
        PR fortran/66528
        * gfortran.dg/maxerrors.f90: New test.
        PR c/66341
        * gcc.dg/lvalue-8.c: New test.
 
-2015-06-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+2015-06-03  Manuel LÃ\83³pez-IbÃ\83¡Ã\83±ez  <manu@gcc.gnu.org>
            Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/66130
        PR tree-optimization/66142
        * gcc.dg/tree-ssa/ssa-fre-44.c: Fixup.
 
-2015-05-28  Lawrence Velázquez  <vq@larryv.me>
+2015-05-28  Lawrence VelÃ\83¡zquez  <vq@larryv.me>
 
        PR target/63810
        * gcc.dg/darwin-minversion-3.c: Update testcase.
        * gcc.dg/lto/pr66221_0.c: New test.
        * gcc.dg/lto/pr66221_1.c: New test.
 
-2015-05-21  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+2015-05-21  Manuel LÃ\83³pez-IbÃ\83¡Ã\83±ez  <manu@gcc.gnu.org>
 
        PR c/52952
        * gcc.dg/redecl-4.c: Update column numbers.
        PR fortran/66113
        * gfortran.dg/block_14.f90:  New test.
 
-2015-05-16  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+2015-05-16  Manuel LÃ\83³pez-IbÃ\83¡Ã\83±ez  <manu@gcc.gnu.org>
 
        PR fortran/44054
        * lib/gfortran-dg.exp: Update regex to handle two locations for
index 71201fee26bc4b106bce50118130c748b16c9723..5fce50dfaf20eeff622dfc40d73d5a854d20bf04 100644 (file)
@@ -7,6 +7,7 @@
 
 /* { dg-do run } */
 /* { dg-options "-O -fno-pic" } */
+/* { dg-require-effective-target nonlocal_goto } */
 
 extern void abort (void);
 
index 5760e387a22ce17b07e020f52a9ec7fcfb670e22..db288ee8f69d61dd34d58c616e722eb47774c506 100644 (file)
@@ -2,6 +2,7 @@
 
 /* { dg-do compile } */
 /* { dg-options "-O2 -fprofile-arcs" } */
+/* { dg-require-profiling "-fprofile-generate" } */
 
 extern int *g (int x, void* y);
 extern void fg (long long x, int y);
index 85db164b529a8b5b7621f50689aa65c33fb7533d..232fa18323b0d8dec65b62249f7baead878b158c 100644 (file)
@@ -1,6 +1,7 @@
 /* PR gcov-profile/34610 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fprofile-arcs -fopenmp" } */
+/* { dg-require-profiling "-fprofile-generate" } */
 
 extern void bar (int);
 extern void baz (int) __attribute__((noreturn));
index 4161c31bf73e9f4654aa82a70aeacebc2f8663eb..576802ba5892a002d2b816dacd8862a46abce400 100644 (file)
@@ -2,6 +2,7 @@
    statements around s[b].  */
 /* { dg-do compile } */
 /* { dg-options "-O1 -fprofile-arcs" } */
+/* { dg-require-profiling "-fprofile-generate" } */
 
 int
 foo (int a, int b)
index 71c16f20744d789b7417e931695b16b5c5980503..8ce8a4465e82dce8afe04c4597947d5c9453c29c 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fprofile-generate -fprofile-use -fopt-info" } */
+/* { dg-require-profiling "-fprofile-generate" } */
 
 unsigned test (unsigned a, unsigned b)
 {
index 08e3f5ea24507951f7bf41b78f9ed67f1da8baa0..990c183fe41ef8e99420738ab53ab365fa9e583e 100644 (file)
@@ -4,6 +4,8 @@
    output to reference a label that had been eliminated.  */
 /* { dg-do link } */
 /* { dg-options "-O2" } */
+/* { dg-skip-if "requires io" { freestanding } { "*" } { "" } }  */
+
 typedef struct _IO_FILE FILE;
 char const *RCSname;
 void *Locks;
index 3929775535e0dbbe4fa1284ba8f30523ec134f00..1d0848e9c304797126e4cc9b44a3f383804c817a 100644 (file)
@@ -1,6 +1,7 @@
 /* PR target/44606 */
 /* { dg-do run } */
 /* { dg-options "-O2" } */
+/* { dg-skip-if "requires io" { freestanding } { "*" } { "" } }  */
 
 #include <stdio.h>
 
index 446389d491406250c5a8b201db95c417b894590a..2ebe97063e3089a4b7e142dbcbf5e2c11ec26e29 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do run } */
 /* { dg-require-effective-target fpic } */
 /* { dg-options "-O -fprofile-arcs -fPIC -fno-dce -fno-forward-propagate" } */
+/* { dg-require-profiling "-fprofile-generate" } */
 
 int test_goto2 (int f)
 {
index 204f06deb4e865de2079bb03ee049e3ce7339ae8..719a99d2def202d11b0d45b3d5025f94d66d7228 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O -fdata-sections" } */
+/* { dg-skip-if "-fdata-sections not supported" { nvptx-*-* } { "*" } { "" } } */
 
 int x = 1;
 int x;
index c7d1b53798557b7911fe91edca117a98d25cb8aa..4f7e0e4fd370e0021c11d1760cfd4a7ee89cd658 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2" } */
+/* { dg-require-effective-target alloca } */
 
 int
 zzz (char *s1, char *s2, int len, int *q)
index b9a208ea84e60e8ec8b8d5b17f1ac91ba1cecbd9..3e2c0e9bb65da45bf81a789fd7d6e1d3075f40b1 100644 (file)
@@ -3,6 +3,7 @@
 
 /* { dg-do compile { target fpic } } */
 /* { dg-options "-std=gnu99 -O -fPIC -fprofile-generate" } */
+/* { dg-require-profiling "-fprofile-generate" } */
 
 typedef __SIZE_TYPE__ size_t;
 typedef unsigned char uint8_t;
index 8768c546bdaa7b13ad3875230ca58b96ffd82524..8deec9e9934e7adc86269d94b8b9dd19d99b3bba 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fprofile-generate" } */
+/* { dg-require-profiling "-fprofile-generate" } */
 
 #include <setjmp.h>
 
index 2e5044584a6d127dad62add07a5ff7ec4c913f4e..cc353a7e5c34f56b1d5233e87993659a6c02f3c2 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -Wall" } */
+/* { dg-require-effective-target nonlocal_goto } */
 
 #include <setjmp.h>
 
index 6921a21d76abdfb24f112894d4fcf9f90cd7feb3..3b45382a825916032715c602cf7731702a69770b 100644 (file)
@@ -1,6 +1,7 @@
 /* PR rtl-optimization/64935 */
 /* { dg-do compile } */
 /* { dg-options "-O -fschedule-insns --param=max-sched-ready-insns=0 -fcompare-debug" } */
+/* { dg-require-effective-target scheduling } */
 
 void
 foo (int *data, unsigned len, const int qlp_coeff[],
index 1fff18153aa740cfc02051e6b8d3b31c42090c17..23ecc539c0629d393791aef9ea8a26c083273d85 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-Os -fprofile-arcs" } */
+/* { dg-require-profiling "-fprofile-generate" } */
 
 struct
 {
index 8e601555cb5ded4e8b18b5888ac494a36935fb5b..448fc0146e115d6057bfdd41921bc41b8d5a5f25 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-fprofile-arcs" } */
+/* { dg-require-profiling "-fprofile-generate" } */
 
 extern void relocate_kernel();
 void machine_kexec(void *control_page)
index 06ede546192b99c77d7fca9f669454f55f97c0cf..82ac4ff2a638bdbdca78e2d4e8d82d07c8a8980c 100644 (file)
@@ -1,4 +1,5 @@
 /*  { dg-do compile } */
+/* { dg-require-effective-target nonlocal_goto } */
 
 #include <setjmp.h>
 
index 65c8508fc84e2679b6b462da614bb8b94052a803..7384d85a9289d8ae1c22929838954777ea4831bf 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target nonlocal_goto } */
 
 #include <setjmp.h>
 
index f3ef5e55bfd9b8bd0306a563cd9c46045142f287..39d380722b463af65e264251d6067e65eb0d77f3 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target nonlocal_goto } */
 
 #include <setjmp.h>
 
index 848f8fedceeb9dcc84c1613a233b30be36197a7f..5fc0c1c429101413dda34c3f72f6a78e90dfe27b 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target label_values } */
 
 int
 test (int foo)
index 18ccc604838dae8d8fafe312af7e7267d7eb28fe..c9d438e937491d2ec7c4868f37b536352d1a7da4 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdelete-null-pointer-checks" } */
+/* { dg-require-weak "" } */
 
 /* { dg-skip-if "" keeps_null_pointer_checks } */
 extern int a; /* { dg-error "declared weak after being used" } */
index 64e71eb620df7d8d5505483adeb35dd3d71c341f..eadf71c19f7d920c4c2498cce1c13c6640770eca 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O -fprofile-arcs -fdump-tree-lim1-details" } */
+/* { dg-require-profiling "-fprofile-generate" } */
 
 struct thread_param
 {
index 258c9f4c3c44562ec1dddeea094980bc11e32d49..384c3de03b7b4af580fe68c89f9d912daff3e955 100644 (file)
 
 load_lib gcc-defs.exp
 
+# disable for non-profile targets explitly, rather than
+# rely on check-effective target.  We're explicitly trying to check
+# profiling works, and if it doesn't check-effective-target will
+# simply skip the tests, rather than have this test shout at us.
+if [ istarget "nvptx-*-*" ] { return 0 }
+
 # These tests don't run runtest_file_p consistently if it
 # doesn't return the same values, so disable parallelization
 # of this *.exp file.  The first parallel runtest to reach