diff mbox

[committed] jit: fix build after r233218 (build_common_tree_nodes, -fshort-double)

Message ID 1454952293.4486.51.camel@redhat.com
State New
Headers show

Commit Message

David Malcolm Feb. 8, 2016, 5:24 p.m. UTC
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
diff mbox

Patch

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