public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tom de Vries <Tom_deVries@mentor.com>
To: Julian Brown <julian@codesourcery.com>, "H.J. Lu" <hjl.tools@gmail.com>
Cc: Jakub Jelinek <jakub@redhat.com>,
	Thomas Schwinge	<thomas@codesourcery.com>,
	GCC Patches <gcc-patches@gcc.gnu.org>,
	Kirill Yukhin <kirill.yukhin@gmail.com>,
	Ilya Verbin <iverbin@gmail.com>
Subject: [gomp4] Re: acc_on_device for device_type_host_nonshm
Date: Thu, 04 Jun 2015 07:25:00 -0000	[thread overview]
Message-ID: <556FE67D.6020601@mentor.com> (raw)
In-Reply-To: <20150528141611.5e43c361@octopus>

[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]

On 28/05/15 15:16, Julian Brown wrote:
> On Thu, 28 May 2015 04:48:58 -0700
> "H.J. Lu" <hjl.tools@gmail.com> wrote:
>
>> On Thu, May 21, 2015 at 4:10 AM, Jakub Jelinek <jakub@redhat.com>
>> wrote:
>>> On Thu, May 21, 2015 at 01:02:12PM +0200, Thomas Schwinge wrote:
>>>> Hi!
>>>>
>>>> On Thu, 7 May 2015 19:32:26 +0100, Julian Brown
>>>> <julian@codesourcery.com> wrote:
>>>>> Here's a new version of the patch [...]
>>>>
>>>>> OK for trunk?
>>>>
>>>> Makes sense to me (with just a request to drop the testsuite
>>>> changes, see below), to get the existing regressions under
>>>> control.  Jakub?
>>>
>>> Ok for trunk.
>>>>
>>>>>      PR libgomp/65742
>>>>>
>>>>>      gcc/
>>>>>      * builtins.c (expand_builtin_acc_on_device): Don't use
>>>>> open-coded sequence for !ACCEL_COMPILER.
>>>>>
>>
>> It breaks bootstrap on x86:
>>
>> https://gcc.gnu.org/ml/gcc-regression/2015-05/msg00389.html
>>
>> I checked in this to fix it.
>
> Apologies, and thanks!
>

And backported it to gomp-4_0-branch.

Thanks,
- Tom




[-- Attachment #2: 0001-Mark-parameters-with-ATTRIBUTE_UNUSED.patch --]
[-- Type: text/x-patch, Size: 800 bytes --]

Mark parameters with ATTRIBUTE_UNUSED

2015-06-04  Tom de Vries  <tom@codesourcery.com>

	backport from trunk:
	2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>

	* builtins.c (expand_builtin_acc_on_device): Mark parameters
	with ATTRIBUTE_UNUSED.
---
 gcc/builtins.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/builtins.c b/gcc/builtins.c
index bfa9832..6574413 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -5915,7 +5915,8 @@ expand_stack_save (void)
    acceleration device (ACCEL_COMPILER conditional).  */
 
 static rtx
-expand_builtin_acc_on_device (tree exp, rtx target)
+expand_builtin_acc_on_device (tree exp ATTRIBUTE_UNUSED,
+			      rtx target ATTRIBUTE_UNUSED)
 {
 #ifdef ACCEL_COMPILER
   if (!validate_arglist (exp, INTEGER_TYPE, VOID_TYPE))
-- 
1.9.1


  reply	other threads:[~2015-06-04  5:47 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-15 20:44 Merge current set of OpenACC changes from gomp-4_0-branch Thomas Schwinge
2015-01-15 20:47 ` Jeff Law
2015-01-15 22:47 ` Tobias Burnus
2015-01-16 12:34 ` Gerald Pfeifer
2015-01-16 20:37   ` Thomas Schwinge
2015-01-16 15:04 ` Gerald Pfeifer
2015-01-16 15:06 ` Jakub Jelinek
2015-01-16 15:37   ` David Malcolm
2015-01-16 21:13 ` [PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter (was: Merge current set of OpenACC changes from gomp-4_0-branch) Thomas Schwinge
2015-01-16 23:19   ` Ilya Verbin
2015-01-16 23:38     ` Jack Howarth
2015-01-16 23:48       ` Ilya Verbin
2015-01-17  0:37         ` Jack Howarth
2015-01-17  1:23           ` Ilya Verbin
2015-01-17  3:09   ` Jack Howarth
2015-02-24 17:23   ` [PR libgomp/64625] Remove __OFFLOAD_TABLE__ variable/formal parameter Thomas Schwinge
2015-01-16 22:41 ` Merge current set of OpenACC changes from gomp-4_0-branch Andreas Schwab
2015-02-04  9:41   ` [RFC testsuite] Fix PR64850, tweak acc_on_device* tests Thomas Schwinge
2015-02-10 12:02     ` Thomas Schwinge
2015-02-12  0:23       ` Kaz Kojima
2015-01-16 23:22 ` Merge current set of OpenACC changes from gomp-4_0-branch Ilya Verbin
2015-01-23 18:28   ` Ilya Verbin
2015-01-23 19:11     ` Jakub Jelinek
2015-01-26 14:01     ` Thomas Schwinge
2015-01-26 15:23       ` Ilya Verbin
2015-01-27 14:41         ` Julian Brown
2015-02-03 11:28           ` Ilya Verbin
2015-02-03 13:00             ` Julian Brown
2015-02-03 20:01               ` Ilya Verbin
2015-02-04 15:06                 ` Julian Brown
2015-02-18 12:25                   ` Ilya Verbin
2015-02-24 12:49                   ` Julian Brown
2015-02-25  9:54                     ` libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks (was: Merge current set of OpenACC changes from gomp-4_0-branch) Thomas Schwinge
2015-02-25 12:17                       ` Julian Brown
2015-02-25 12:23                       ` Ilya Verbin
2015-02-26 17:31                       ` Ilya Verbin
2015-03-06 14:01                         ` Ilya Verbin
2015-03-09 14:46                           ` Julian Brown
2015-03-23 19:44                             ` Ilya Verbin
2015-03-26 10:07                               ` libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks Thomas Schwinge
2015-03-26 12:09                               ` libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks (was: Merge current set of OpenACC changes from gomp-4_0-branch) Jakub Jelinek
2015-03-26 20:41                                 ` Ilya Verbin
2015-03-30 16:42                                   ` Jakub Jelinek
2015-03-30 21:43                                     ` Julian Brown
2015-03-31 12:52                                     ` Ilya Verbin
2015-03-31 13:08                                       ` Jakub Jelinek
2015-03-31 16:10                                         ` Ilya Verbin
2015-03-31 23:53                                           ` Ilya Verbin
2015-04-01  5:21                                             ` Jakub Jelinek
2015-04-01 13:14                                               ` Ilya Verbin
2015-04-01 13:20                                                 ` Jakub Jelinek
2015-04-01 17:26                                                   ` Ilya Verbin
2015-04-06 12:46                                                   ` Ilya Verbin
2015-04-07 15:26                                                     ` Jakub Jelinek
2015-04-08 14:32                                                       ` Julian Brown
2015-04-08 14:34                                                         ` Jakub Jelinek
2015-04-08 14:59                                                         ` Ilya Verbin
2015-04-08 16:14                                                           ` Julian Brown
2015-04-14 14:15                                                           ` Julian Brown
2015-04-14 15:35                                                             ` Using -foffload=[...] to cycle through accelerators (was: libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks) Thomas Schwinge
2015-04-14 15:43                                                             ` acc_on_device for device_type_host_nonshm " Thomas Schwinge
2015-04-17 13:16                                                               ` Jakub Jelinek
2015-05-07 18:32                                                                 ` acc_on_device for device_type_host_nonshm (was: libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks) (PR65742) Julian Brown
2015-05-21 11:32                                                                   ` acc_on_device for device_type_host_nonshm Thomas Schwinge
2015-05-21 11:42                                                                     ` Jakub Jelinek
2015-05-28 11:56                                                                       ` H.J. Lu
2015-05-28 13:29                                                                         ` Julian Brown
2015-06-04  7:25                                                                           ` Tom de Vries [this message]
2015-06-02 12:08                                                                   ` [PR libgomp/65742, PR middle-end/66332] XFAIL acc_on_device compile-time evaluation (was: acc_on_device for device_type_host_nonshm) Thomas Schwinge
2015-07-14 20:26                                                                   ` PR65742: OpenACC acc_on_device fixes Thomas Schwinge
2015-07-15  7:27                                                                     ` Richard Biener
2015-04-17  9:54                                                             ` libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks (was: Merge current set of OpenACC changes from gomp-4_0-branch) (PR65742) Julian Brown
2015-03-31 18:25                                     ` libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks (was: Merge current set of OpenACC changes from gomp-4_0-branch) Ilya Verbin
2015-03-31 19:06                                       ` Jakub Jelinek
2015-09-25 15:10                                   ` libgomp: Compile-time error for non-portable gomp_mutex_t initialization (was: libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks) Thomas Schwinge
2015-09-25 15:59                                     ` Jakub Jelinek
2015-11-18 15:20                                       ` libgomp: Compile-time error for non-portable gomp_mutex_t initialization Ilya Verbin
2015-11-19 12:31                                         ` Jakub Jelinek
2015-09-25 16:56                                   ` libgomp: Guard all offload_images/num_offload_images access by register_lock (was: libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks) Thomas Schwinge
2015-09-25 16:58                                     ` Ilya Verbin
2015-09-28 10:03                                       ` libgomp: Guard all devices/num_devices/num_devices_openmp access by register_lock (was: libgomp: Guard all offload_images/num_offload_images access by register_lock) Thomas Schwinge
2015-10-06 11:49                                         ` Thomas Schwinge
2015-10-09 11:58                                         ` libgomp: Guard all devices/num_devices/num_devices_openmp access by register_lock Bernd Schmidt
2015-10-09 14:39                                           ` Ilya Verbin
2015-03-27 15:21                                 ` libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks (was: Merge current set of OpenACC changes from gomp-4_0-branch) Julian Brown
2015-01-27 13:43       ` Merge current set of OpenACC changes from gomp-4_0-branch Julian Brown
2015-01-27 19:50       ` Jack Howarth
2015-02-17 18:06 ` Thomas Schwinge
2015-02-23 10:31 ` Fix number of arguments parameter in Ada DEF_FUNCTION_TYPE_* (was: Merge current set of OpenACC changes from gomp-4_0-branch) Thomas Schwinge
2015-04-20 14:24 ` Merge current set of OpenACC changes from gomp-4_0-branch Thomas Schwinge
2015-04-20 20:14   ` Gerald Pfeifer
2015-02-03 23:41 [RFC testsuite] Fix PR64850, tweak acc_on_device* tests Kaz Kojima

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=556FE67D.6020601@mentor.com \
    --to=tom_devries@mentor.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hjl.tools@gmail.com \
    --cc=iverbin@gmail.com \
    --cc=jakub@redhat.com \
    --cc=julian@codesourcery.com \
    --cc=kirill.yukhin@gmail.com \
    --cc=thomas@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).