public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] jit: fix build after r233218 (build_common_tree_nodes, -fshort-double)
@ 2016-01-01  0:00 David Malcolm
  0 siblings, 0 replies; only message in thread
From: David Malcolm @ 2016-01-01  0:00 UTC (permalink / raw)
  To: gcc-patches, jit

[-- 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);

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

only message in thread, other threads:[~2016-02-08 17:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-01  0:00 [committed] jit: fix build after r233218 (build_common_tree_nodes, -fshort-double) David Malcolm

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).