public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joseph Myers <joseph@codesourcery.com>
To: David Malcolm <dmalcolm@redhat.com>
Cc: <gcc-patches@gcc.gnu.org>, <jit@gcc.gnu.org>
Subject: Re: [PATCH 1/2] driver: support state cleanup
Date: Thu, 01 Jan 2015 00:00:00 -0000	[thread overview]
Message-ID: <alpine.DEB.2.10.1508252120560.1106@digraph.polyomino.org.uk> (raw)
In-Reply-To: <1440534501.31999.12.camel@surprise>

I've committed as obvious this patch to fix a build failure this 
introduced for targets not defining EXTRA_SPECS, in which case extra_specs 
is not declared.  (nvptx-none was the target for which I came across such 
a failure.)

2015-08-25  Joseph Myers  <joseph@codesourcery.com>

	* gcc.c (driver::finalize): Only assign to extra_specs if
	[EXTRA_SPECS].

Index: gcc.c
===================================================================
--- gcc.c	(revision 227191)
+++ gcc.c	(working copy)
@@ -9813,7 +9813,9 @@ driver::finalize ()
 	}
       *(sl->ptr_spec) = sl->default_ptr;
     }
+#ifdef EXTRA_SPECS
   extra_specs = NULL;
+#endif
 
   processing_spec_function = 0;
 

-- 
Joseph S. Myers
joseph@codesourcery.com

      reply	other threads:[~2015-08-25 21:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-01  0:00 [PATCH 0/2] Embed driver within libgccjit David Malcolm
2015-01-01  0:00 ` [PING] " David Malcolm
2015-01-01  0:00 ` [PATCH 2/2] jit: use an embedded copy of the driver David Malcolm
2015-01-01  0:00 ` [PATCH 1/2] driver: support state cleanup David Malcolm
2015-01-01  0:00   ` Joseph Myers
2015-01-01  0:00     ` David Malcolm
2015-01-01  0:00       ` Joseph Myers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.10.1508252120560.1106@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=dmalcolm@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jit@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).