Commit 14e5c7e5 by Ian Lance Taylor Committed by Ian Lance Taylor

go-backend.c: Don't #include "rtl.h".

	* go-backend.c: Don't #include "rtl.h".
	(go_imported_unsafe): Don't call init_varasm_once.
	* Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H).

From-SVN: r201176
parent f6820c28
2013-07-23 Ian Lance Taylor <iant@google.com>
* go-backend.c: Don't #include "rtl.h".
(go_imported_unsafe): Don't call init_varasm_once.
* Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H).
2013-07-23 Ian Lance Taylor <iant@google.com>
* go-lang.c: Don't #include "except.h".
* Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H).
......
......@@ -240,7 +240,7 @@ GO_RUNTIME_H = go/gofrontend/runtime.h go/gofrontend/runtime.def
GO_AST_DUMP_H = go/gofrontend/ast-dump.h go/gofrontend/string-dump.h
go/go-backend.o: go/go-backend.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) $(RTL_H) $(TREE_H) $(TM_P_H) output.h $(TARGET_H) \
$(TM_H) $(TREE_H) $(TM_P_H) output.h $(TARGET_H) \
$(COMMON_TARGET_H)
CFLAGS-go/go-lang.o += -DDEFAULT_TARGET_VERSION=\"$(version)\" \
......
......@@ -22,7 +22,6 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "simple-object.h"
#include "tm.h"
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "intl.h"
......@@ -91,12 +90,6 @@ go_imported_unsafe (void)
{
flag_strict_aliasing = false;
/* This is a real hack. init_varasm_once has already grabbed an
alias set, which we don't want when we aren't doing strict
aliasing. We reinitialize to make it do it again. This should
be OK in practice since we haven't really done anything yet. */
init_varasm_once ();
/* Let the backend know that the options have changed. */
targetm.override_options_after_change ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment