public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [gomp4] fix a fortran bootstrap failure
@ 2014-11-20 18:11 Cesar Philippidis
  0 siblings, 0 replies; only message in thread
From: Cesar Philippidis @ 2014-11-20 18:11 UTC (permalink / raw)
  To: Fortran List, gcc-patches; +Cc: Thomas Schwinge

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]

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

[-- Attachment #2: fortran-cache-bootstrap.diff --]
[-- Type: text/x-patch, Size: 544 bytes --]

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");
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-20 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 18:11 [gomp4] fix a fortran bootstrap failure Cesar Philippidis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).