On 11/10/15 11:28, Thomas Schwinge wrote:
Hi Nathan!

On Tue, 10 Nov 2015 09:19:50 -0500, Nathan Sidwell <nat...@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

2015-11-10  Nathan Sidwell  <nat...@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.  */

Reply via email to