diff --git a/gcc/jit/dummy-frontend.c b/gcc/jit/dummy-frontend.c index 8f7d06a..e1c01ad 100644 --- a/gcc/jit/dummy-frontend.c +++ b/gcc/jit/dummy-frontend.c @@ -31,6 +31,7 @@ along with GCC; see the file COPYING3. If not see #include "stor-layout.h" #include "inchash.h" #include "tree.h" +#include "fold-const.h" #include "debug.h" #include "langhooks.h" #include "langhooks-def.h" @@ -46,6 +47,12 @@ along with GCC; see the file COPYING3. If not see #include "ipa-ref.h" #include "dumpfile.h" #include "cgraph.h" +#include "predict.h" +#include "function.h" +#include "basic-block.h" +#include "tree-ssa-alias.h" +#include "gimple-expr.h" +#include "gimple.h" #include "jit-common.h" #include "jit-logging.h" @@ -266,6 +273,9 @@ jit_langhook_write_globals (void) #undef LANG_HOOKS_WRITE_GLOBALS #define LANG_HOOKS_WRITE_GLOBALS jit_langhook_write_globals +#undef LANG_HOOKS_GET_ALIAS_SET +#define LANG_HOOKS_GET_ALIAS_SET gimple_get_alias_set + struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER; #include "gt-jit-dummy-frontend.h"