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.
DaveIndex: gcc/jit/ChangeLog
===================================================================
--- gcc/jit/ChangeLog (revision 233221)
+++ gcc/jit/ChangeLog (revision 233222)
@@ -1,3 +1,9 @@
+2016-02-08 David Malcolm <[email protected]>
+
+ * dummy-frontend.c (jit_langhook_init): Remove
+ second argument to build_common_tree_nodes to
+ track r233218.
+
2016-01-23 Iain Buclaw <[email protected]>
* 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);