public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Malcolm <dmalcolm@redhat.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>, jit@gcc.gnu.org
Subject: [committed] jit: fix build after r233218 (build_common_tree_nodes, -fshort-double)
Date: Fri, 01 Jan 2016 00:00:00 -0000	[thread overview]
Message-ID: <1454952293.4486.51.camel@redhat.com> (raw)

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

Looks like r233218's change to build_common_tree_nodes missed the jit
subdirectory:

../../src/gcc/jit/dummy-frontend.c: In function ‘bool
jit_langhook_init()’:
../../src/gcc/jit/dummy-frontend.c:108:40: error: too many arguments to
function ‘void build_common_tree_nodes(bool)’
   build_common_tree_nodes (false, false);
                                        ^

In file included from ../../src/gcc/jit/jit-common.h:27:0,
                 from ../../src/gcc/jit/jit-recording.h:24,
                 from ../../src/gcc/jit/jit-playback.h:28,
                 from ../../src/gcc/jit/dummy-frontend.c:23:
../../src/gcc/tree.h:4766:13: note: declared here
 extern void build_common_tree_nodes (bool);
             ^~~~~~~~~~~~~~~~~~~~~~~

Fixed in trunk in r233222 in the obvious way, as attached.

Dave

[-- Attachment #2: r233222.patch --]
[-- Type: text/x-patch, Size: 912 bytes --]

Index: gcc/jit/ChangeLog
===================================================================
--- gcc/jit/ChangeLog	(revision 233221)
+++ gcc/jit/ChangeLog	(revision 233222)
@@ -1,3 +1,9 @@
+2016-02-08  David Malcolm  <dmalcolm@redhat.com>
+
+	* dummy-frontend.c (jit_langhook_init): Remove
+	second argument to build_common_tree_nodes to
+	track r233218.
+
 2016-01-23  Iain Buclaw  <ibuclaw@gdcproject.org>
 
 	* jit-playback.c: Include pthread.h.
Index: gcc/jit/dummy-frontend.c
===================================================================
--- gcc/jit/dummy-frontend.c	(revision 233221)
+++ gcc/jit/dummy-frontend.c	(revision 233222)
@@ -105,7 +105,7 @@
       registered_root_tab = true;
     }
 
-  build_common_tree_nodes (false, false);
+  build_common_tree_nodes (false);
 
   /* I don't know why this has to be done explicitly.  */
   void_list_node = build_tree_list (NULL_TREE, void_type_node);

                 reply	other threads:[~2016-02-08 17:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1454952293.4486.51.camel@redhat.com \
    --to=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).