diff mbox

[gomp4] Random omp-low.c backporting

Message ID 564255F3.6020404@acm.org
State New
Headers show

Commit Message

Nathan Sidwell Nov. 10, 2015, 8:39 p.m. UTC
On 11/10/15 11:28, Thomas Schwinge wrote:
> Hi Nathan!
>
> On Tue, 10 Nov 2015 09:19:50 -0500, Nathan Sidwell <nathan@acm.org> wrote:
>> I've committed this to backport a bunch of random bits from trunk to gomp4, and
>> thereby reduce divergence.
>
> Yeah, I had some of these on my list, too.
>
>> --- omp-low.c	(revision 230080)
>> +++ omp-low.c	(working copy)
>> @@ -12515,7 +12485,7 @@ replace_oacc_fn_attrib (tree fn, tree di
>>      function attribute.  Push any that are non-constant onto the ARGS
>>      list, along with an appropriate GOMP_LAUNCH_DIM tag.  */
>>
>> -void
>> +static void
>>   set_oacc_fn_attrib (tree fn, tree clauses, vec<tree> *args)
>>   {
>>     /* Must match GOMP_DIM ordering.  */
>

fixed.  Not sure why I don't encounter these build problems ...

nathan
diff mbox

Patch

2015-11-10  Nathan Sidwell  <nathan@codesourcery.com>

	* omp-low.c (set_oacc_fn_attrib): Revert static storage specifier.

Index: gcc/omp-low.c
===================================================================
--- gcc/omp-low.c	(revision 230120)
+++ gcc/omp-low.c	(working copy)
@@ -12574,7 +12574,7 @@  replace_oacc_fn_attrib (tree fn, tree di
    function attribute.  Push any that are non-constant onto the ARGS
    list, along with an appropriate GOMP_LAUNCH_DIM tag.  */
 
-static void
+void
 set_oacc_fn_attrib (tree fn, tree clauses, vec<tree> *args)
 {
   /* Must match GOMP_DIM ordering.  */