diff options
-rw-r--r-- | gcc/go/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/go/Make-lang.in | 2 | ||||
-rw-r--r-- | gcc/go/go-backend.c | 7 |
3 files changed, 7 insertions, 8 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index dc2a6a7addd..ea82d35f83e 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,5 +1,11 @@ 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). diff --git a/gcc/go/Make-lang.in b/gcc/go/Make-lang.in index 159bf9c524c..3cb18d6adcf 100644 --- a/gcc/go/Make-lang.in +++ b/gcc/go/Make-lang.in @@ -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)\" \ diff --git a/gcc/go/go-backend.c b/gcc/go/go-backend.c index ea47138a597..c3ffa3b1dea 100644 --- a/gcc/go/go-backend.c +++ b/gcc/go/go-backend.c @@ -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 (); } |