The patch: https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00600.html
broke the build of the jit: In file included from ../../src/gcc/jit/jit-builtins.c:23:0: ../../src/gcc/target.h:188:60: error: expected ‘;’ at end of member declaration #define DEFHOOK(NAME, DOC, TYPE, PARAMS, INIT) TYPE (* NAME) PARAMS; ^ ../../src/gcc/target.def:3747:1: note: in expansion of macro ‘DEFHOOK’ DEFHOOK ^ ../../src/gcc/target.def:3758:6: error: expected ‘)’ before ‘<’ token (vec<rtx>& outputs, vec<rtx>& inputs, vec<const char *>& constraints, ^ ../../src/gcc/target.h:188:62: note: in definition of macro ‘DEFHOOK’ #define DEFHOOK(NAME, DOC, TYPE, PARAMS, INIT) TYPE (* NAME) PARAMS; ^ The fix is trivial, to include vec.h in jit-builtins.c before including target.h. Committed to trunk as r223091. gcc/jit/ChangeLog: * jit-builtins.c: Include vec.h before target.h. --- gcc/jit/jit-builtins.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/jit/jit-builtins.c b/gcc/jit/jit-builtins.c index 5bf4a67..a29f446 100644 --- a/gcc/jit/jit-builtins.c +++ b/gcc/jit/jit-builtins.c @@ -20,6 +20,7 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" +#include "vec.h" #include "target.h" #include "stringpool.h" -- 1.8.5.3