This patch resolves a bootstrap failure in gomp-4_0-branch, which I
probably introduced after I switched the cache error message from a
gfc_error to a sorry. The code parameter isn't being used anymore by
resolve_oacc_cache, so I've explicitly marked it as unused.

I've applied this patch to gomp-4_0-branch.

Cesar
2014-11-20  Cesar Philippidis  <ce...@codesourcery.com>

	gcc/fortran/
	* openmp.c (resolve_oacc_cache): Mark the code parameter
	as unused.


Index: gcc/fortran/openmp.c
===================================================================
--- gcc/fortran/openmp.c	(revision 442301)
+++ gcc/fortran/openmp.c	(working copy)
@@ -4600,7 +4600,7 @@ resolve_oacc_loop (gfc_code *code)
 
 
 static void
-resolve_oacc_cache (gfc_code *code)
+resolve_oacc_cache (gfc_code *code ATTRIBUTE_UNUSED)
 {
   sorry ("Sorry, !$ACC cache unimplemented yet");
 }

Reply via email to