@@ -22,6 +22,7 @@
#include "output.h"
#include "tm_p.h"
#include "diagnostic.h"
+#include "rtl.h"
}
#include "go-c.h"
@@ -810,6 +811,11 @@
{
// Importing the "unsafe" package automatically disables TBAA.
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 going strict
+ // aliasing. We reinitialize to make it do it again. FIXME.
+ init_varasm_once();
}
wrapup_global_declarations(vec, count);
@@ -158,7 +158,7 @@
$(GO_C_H) gt-go-go-lang.h gtype-go.h
go/gogo-tree.o: go/gogo-tree.cc $(GO_SYSTEM_H) $(TREE_H) $(GIMPLE_H) \
tree-iterator.h $(CGRAPH_H) langhooks.h convert.h output.h \
- $(TM_P_H) $(DIAGNOSTIC_H) $(GO_TYPES_H) $(GO_EXPRESSIONS_H) \
+ $(TM_P_H) $(DIAGNOSTIC_H) $(RTL_H) $(GO_TYPES_H) $(GO_EXPRESSIONS_H) \
$(GO_STATEMENTS_H) $(GO_GOGO_H)
go/gogo.o: go/gogo.cc $(GO_SYSTEM_H) go/go-dump.h $(GO_LEX_H) $(GO_TYPES_H) \
$(GO_STATEMENTS_H) $(GO_EXPRESSIONS_H) go/dataflow.h $(GO_IMPORT_H) \