[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-fortran
Subject:    [gomp4] fix a fortran bootstrap failure
From:       Cesar Philippidis <cesar () codesourcery ! com>
Date:       2014-11-20 17:32:50
Message-ID: 546E25C2.7080901 () codesourcery ! com
[Download RAW message or body]

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

["fortran-cache-bootstrap.diff" (text/x-patch)]

2014-11-20  Cesar Philippidis  <cesar@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");
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic