From patchwork Mon Aug 24 14:06:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Sidwell X-Patchwork-Id: 510034 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0D785140280 for ; Tue, 25 Aug 2015 00:06:38 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=FsNU/qDv; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=OkWGs3etdaerI1AZV2DuC+uFFB6xyzBH4OeB/9SbL4qtPJY02W YKG3GKjpID6sUm05JtpGYuqedxWbv7rj8D7gYYUa+J4O66SL7umTEGcsjJdoIFnE j25ySelQUx3c1dRCr+xKFClnUydBKcnl+WghBNo8idIjjXZmzAUTXbZQc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=rqnkf7RXFQheEM7DSyN9IpNTftI=; b=FsNU/qDvCKgO+4XUkr7H NsjJgINQAlSdwdL8dNcurUEW/2YWG5CeKmF30N6ra2ri7uvqDfsJUTRJZxzhqT9x nxdaKx0kujeUZsw0niswUBWVlX+qj6MVf/+IBAhb1FFTtfKjDeLFlzkrnL6aY5RF aXX4eXsLl2HHTzwkm+2r808= Received: (qmail 118798 invoked by alias); 24 Aug 2015 14:06:30 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 118779 invoked by uid 89); 24 Aug 2015 14:06:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=BAYES_00, FREEMAIL_FROM, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-qk0-f179.google.com Received: from mail-qk0-f179.google.com (HELO mail-qk0-f179.google.com) (209.85.220.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 24 Aug 2015 14:06:23 +0000 Received: by qkfh127 with SMTP id h127so67766786qkf.1 for ; Mon, 24 Aug 2015 07:06:21 -0700 (PDT) X-Received: by 10.55.24.8 with SMTP id j8mr32900388qkh.93.1440425181063; Mon, 24 Aug 2015 07:06:21 -0700 (PDT) Received: from ?IPv6:2601:181:c000:c497:a2a8:cdff:fe3e:b48? ([2601:181:c000:c497:a2a8:cdff:fe3e:b48]) by smtp.googlemail.com with ESMTPSA id u82sm11282048qku.47.2015.08.24.07.06.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Aug 2015 07:06:20 -0700 (PDT) To: GCC Patches From: Nathan Sidwell Subject: [nvptx] More test disabling Message-ID: <55DB24D6.4070100@acm.org> Date: Mon, 24 Aug 2015 10:06:14 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 This disables some more gcc tests for nvptx target. I'm now down to test fails that need further investigation. nathan 2015-08-24 Nathan Sidwell * 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. Index: gcc/testsuite/gcc.dg/pr49551.c =================================================================== --- gcc/testsuite/gcc.dg/pr49551.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr49551.c (working copy) @@ -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: gcc/testsuite/gcc.dg/torture/pr66101.c =================================================================== --- gcc/testsuite/gcc.dg/torture/pr66101.c (revision 227123) +++ gcc/testsuite/gcc.dg/torture/pr66101.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target nonlocal_goto } */ #include Index: gcc/testsuite/gcc.dg/torture/pr63738.c =================================================================== --- gcc/testsuite/gcc.dg/torture/pr63738.c (revision 227123) +++ gcc/testsuite/gcc.dg/torture/pr63738.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target nonlocal_goto } */ #include Index: gcc/testsuite/gcc.dg/torture/pr64728.c =================================================================== --- gcc/testsuite/gcc.dg/torture/pr64728.c (revision 227123) +++ gcc/testsuite/gcc.dg/torture/pr64728.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target nonlocal_goto } */ #include Index: gcc/testsuite/gcc.dg/torture/pr66123.c =================================================================== --- gcc/testsuite/gcc.dg/torture/pr66123.c (revision 227123) +++ gcc/testsuite/gcc.dg/torture/pr66123.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target label_values } */ int test (int foo) Index: gcc/testsuite/gcc.dg/torture/pr41261.c =================================================================== --- gcc/testsuite/gcc.dg/torture/pr41261.c (revision 227123) +++ gcc/testsuite/gcc.dg/torture/pr41261.c (working copy) @@ -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: gcc/testsuite/gcc.dg/pr26570.c =================================================================== --- gcc/testsuite/gcc.dg/pr26570.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr26570.c (working copy) @@ -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: gcc/testsuite/gcc.dg/pr64935-2.c =================================================================== --- gcc/testsuite/gcc.dg/pr64935-2.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr64935-2.c (working copy) @@ -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: gcc/testsuite/gcc.dg/pr61776.c =================================================================== --- gcc/testsuite/gcc.dg/pr61776.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr61776.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fprofile-generate" } */ +/* { dg-require-profiling "-fprofile-generate" } */ #include Index: gcc/testsuite/gcc.dg/pr27531-1.c =================================================================== --- gcc/testsuite/gcc.dg/pr27531-1.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr27531-1.c (working copy) @@ -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: gcc/testsuite/gcc.dg/pr44606.c =================================================================== --- gcc/testsuite/gcc.dg/pr44606.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr44606.c (working copy) @@ -1,6 +1,7 @@ /* PR target/44606 */ /* { dg-do run } */ /* { dg-options "-O2" } */ +/* { dg-skip-if "requires io" { freestanding } { "*" } { "" } } */ #include Index: gcc/testsuite/gcc.dg/tree-ssa/nonzero-1.c =================================================================== --- gcc/testsuite/gcc.dg/tree-ssa/nonzero-1.c (revision 227123) +++ gcc/testsuite/gcc.dg/tree-ssa/nonzero-1.c (working copy) @@ -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: gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-11.c =================================================================== --- gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-11.c (revision 227123) +++ gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-11.c (working copy) @@ -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: gcc/testsuite/gcc.dg/pr51990.c =================================================================== --- gcc/testsuite/gcc.dg/pr51990.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr51990.c (working copy) @@ -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: gcc/testsuite/gcc.dg/pr63748.c =================================================================== --- gcc/testsuite/gcc.dg/pr63748.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr63748.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -Wall" } */ +/* { dg-require-effective-target nonlocal_goto } */ #include Index: gcc/testsuite/gcc.dg/gomp/pr34610.c =================================================================== --- gcc/testsuite/gcc.dg/gomp/pr34610.c (revision 227123) +++ gcc/testsuite/gcc.dg/gomp/pr34610.c (working copy) @@ -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: gcc/testsuite/gcc.dg/pr54121.c =================================================================== --- gcc/testsuite/gcc.dg/pr54121.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr54121.c (working copy) @@ -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: gcc/testsuite/gcc.dg/20020312-2.c =================================================================== --- gcc/testsuite/gcc.dg/20020312-2.c (revision 227123) +++ gcc/testsuite/gcc.dg/20020312-2.c (working copy) @@ -7,6 +7,7 @@ /* { dg-do run } */ /* { dg-options "-O -fno-pic" } */ +/* { dg-require-effective-target nonlocal_goto } */ extern void abort (void); Index: gcc/testsuite/gcc.dg/20050325-1.c =================================================================== --- gcc/testsuite/gcc.dg/20050325-1.c (revision 227123) +++ gcc/testsuite/gcc.dg/20050325-1.c (working copy) @@ -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: gcc/testsuite/gcc.dg/pr66899.c =================================================================== --- gcc/testsuite/gcc.dg/pr66899.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr66899.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-Os -fprofile-arcs" } */ +/* { dg-require-profiling "-fprofile-generate" } */ struct { Index: gcc/testsuite/gcc.dg/pr48770.c =================================================================== --- gcc/testsuite/gcc.dg/pr48770.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr48770.c (working copy) @@ -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: gcc/testsuite/gcc.dg/pr24225.c =================================================================== --- gcc/testsuite/gcc.dg/pr24225.c (revision 227123) +++ gcc/testsuite/gcc.dg/pr24225.c (working copy) @@ -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: gcc/testsuite/gcc.misc-tests/options.exp =================================================================== --- gcc/testsuite/gcc.misc-tests/options.exp (revision 227123) +++ gcc/testsuite/gcc.misc-tests/options.exp (working copy) @@ -21,6 +21,12 @@ 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