This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: The nvptx port [10/11+] Target files
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Bernd Schmidt <bernds at codesourcery dot com>, Jeff Law <law at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 10 Nov 2014 12:37:53 -0800
- Subject: Re: The nvptx port [10/11+] Target files
- Authentication-results: sourceware.org; auth=none
- References: <54451994 dot 9070209 at codesourcery dot com> <54451D57 dot 5050803 at codesourcery dot com> <5447F0E1 dot 7080906 at redhat dot com> <544FAE8B dot 5010906 at codesourcery dot com> <545179C6 dot 4030406 at redhat dot com> <5460E5AD dot 6060502 at codesourcery dot com> <20141110200428 dot GO5026 at tucnak dot redhat dot com>
On Mon, Nov 10, 2014 at 12:04 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Mon, Nov 10, 2014 at 05:19:57PM +0100, Bernd Schmidt wrote:
>> commit 659744a99d815b168716b4460e32f6a21593e494
>> Author: Bernd Schmidt <bernds@codesourcery.com>
>> Date: Thu Nov 6 19:03:57 2014 +0100
>
> Note, in r217301 you've committed a change to pr35468.c, not mentioned in
> the ChangeLog, that uses no_const_addr_space effective target that is never
> defined. Can you please revert or commit a patch that adds support for that
> to gcc/testsuite/lib/ ?
>
> +ERROR: gcc.c-torture/compile/pr35468.c -O0 : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +UNRESOLVED: gcc.c-torture/compile/pr35468.c -O0 : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +ERROR: gcc.c-torture/compile/pr35468.c -O1 : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +UNRESOLVED: gcc.c-torture/compile/pr35468.c -O1 : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +ERROR: gcc.c-torture/compile/pr35468.c -O2 -flto -flto-partition=none : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +UNRESOLVED: gcc.c-torture/compile/pr35468.c -O2 -flto -flto-partition=none : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +ERROR: gcc.c-torture/compile/pr35468.c -O2 -flto : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +UNRESOLVED: gcc.c-torture/compile/pr35468.c -O2 -flto : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +ERROR: gcc.c-torture/compile/pr35468.c -O2 : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +UNRESOLVED: gcc.c-torture/compile/pr35468.c -O2 : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +ERROR: gcc.c-torture/compile/pr35468.c -O3 -fomit-frame-pointer : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +UNRESOLVED: gcc.c-torture/compile/pr35468.c -O3 -fomit-frame-pointer : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +ERROR: gcc.c-torture/compile/pr35468.c -O3 -g : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +UNRESOLVED: gcc.c-torture/compile/pr35468.c -O3 -g : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +ERROR: gcc.c-torture/compile/pr35468.c -Os : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +UNRESOLVED: gcc.c-torture/compile/pr35468.c -Os : unknown effective target keyword \`no_const_addr_space' for " dg-require-effective-target 2 no_const_addr_space "
> +ERROR: gcc.dg/pr44194-1.c: syntax error in target selector "target { { { { { i?86-*-* x86_64-*-* } && x32 } || lp64 } && { ! s390*-*-* } } && { ! hppa*64*-*-* } } && { ! alpha*-*-* } && { ! powerpc*-*-linux* } || powerpc_elfv2 && ! nvptx-*-*" for " dg-do 1 compile { target { { { { { { { i?86-*-* x86_64-*-* } && x32 } || lp64 } && { ! s390*-*-* } } && { ! hppa*64*-*-* } } && { ! alpha*-*-* } } && { { ! powerpc*-*-linux* } || powerpc_elfv2 } && { ! nvptx-*-* } } } "
> +UNRESOLVED: gcc.dg/pr44194-1.c: syntax error in target selector "target { { { { { i?86-*-* x86_64-*-* } && x32 } || lp64 } && { ! s390*-*-* } } && { ! hppa*64*-*-* } } && { ! alpha*-*-* } && { ! powerpc*-*-linux* } || powerpc_elfv2 && ! nvptx-*-*" for " dg-do 1 compile { target { { { { { { { i?86-*-* x86_64-*-* } && x32 } || lp64 } && { ! s390*-*-* } } && { ! hppa*64*-*-* } } && { ! alpha*-*-* } } && { { ! powerpc*-*-linux* } || powerpc_elfv2 } && { ! nvptx-*-* } } } "
> +FAIL: gcc.dg/pr45352-1.c (test for excess errors)
>
> Jakub
I reverted the change in gcc.c-torture/compile/pr35468.c.
I also checked in this patch to add missing braces in
gcc.dg/pr44194-1.c.
--
H.J.
-----
Index: ChangeLog
===================================================================
--- ChangeLog (revision 217315)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2014-11-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.dg/pr44194-1.c (dg-do): Add missing braces.
+
2014-11-10 Roman Gareev <gareevroman@gmail.com>
* gcc.dg/graphite/isl-ast-gen-blocks-1.c: Remove using of
Index: gcc.dg/pr44194-1.c
===================================================================
--- gcc.dg/pr44194-1.c (revision 217315)
+++ gcc.dg/pr44194-1.c (working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { { { { { { { i?86-*-* x86_64-*-* } && x32 } || lp6
4 } && { ! s390*-*-* } } && { ! hppa*64*-*-* } } && { ! alpha*-*-* } } && { { !
powerpc*-*-linux* } || powerpc_elfv2 } && { ! nvptx-*-* } } } } */
+/* { dg-do compile { target { { { { { { { { i?86-*-* x86_64-*-* } && x32 } || l
p64 } && { ! s390*-*-* } } && { ! hppa*64*-*-* } } && { ! alpha*-*-* } } && { {
! powerpc*-*-linux* } || powerpc_elfv2 } && { ! nvptx-*-* } } } } } */
/* { dg-options "-O2 -fdump-rtl-dse1 -fdump-rtl-final" } */
/* Restrict to 64-bit targets since 32-bit targets usually return small