@@ -1,5 +1,8 @@
2015-07-11 Thomas Schwinge <thomas@codesourcery.com>
+ * internal-fn.c (expand_GOACC_FORK, expand_GOACC_JOIN)
+ [!HAVE_oacc_fork]: Keep quiet.
+
* df-core.c (df_analyze_1): Don't disable df_verify call.
2015-07-10 Nathan Sidwell <nathan@codesourcery.com>
@@ -2005,21 +2005,21 @@ expand_GOACC_DATA_END_WITH_ARG (gcall *stmt ATTRIBUTE_UNUSED)
}
static void
-expand_GOACC_FORK (gcall *stmt)
+expand_GOACC_FORK (gcall *stmt ATTRIBUTE_UNUSED)
{
- rtx mode = expand_normal (gimple_call_arg (stmt, 0));
-
#ifdef HAVE_oacc_fork
+ rtx mode = expand_normal (gimple_call_arg (stmt, 0));
+
emit_insn (gen_oacc_fork (mode));
#endif
}
static void
-expand_GOACC_JOIN (gcall *stmt)
+expand_GOACC_JOIN (gcall *stmt ATTRIBUTE_UNUSED)
{
- rtx mode = expand_normal (gimple_call_arg (stmt, 0));
-
#ifdef HAVE_oacc_join
+ rtx mode = expand_normal (gimple_call_arg (stmt, 0));
+
emit_insn (gen_oacc_join (mode));
#endif
}