diff options
author | Ian Lance Taylor <iant@golang.org> | 2019-02-15 00:29:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-15 00:29:41 +0000 |
commit | b90fff0cc04c63d7cf23d689dbf1bc91f799de2c (patch) | |
tree | 257ec466fbc55d3c2b8529f7322518c55ade9c5c /gcc/go/go-backend.c | |
parent | f97745dca56be888c5b99990cc9af49efdd3d5ba (diff) | |
download | gcc-b90fff0cc04c63d7cf23d689dbf1bc91f799de2c.zip gcc-b90fff0cc04c63d7cf23d689dbf1bc91f799de2c.tar.gz gcc-b90fff0cc04c63d7cf23d689dbf1bc91f799de2c.tar.bz2 |
go-backend.c (go_imported_unsafe): Update optimization_default_node.
* go-backend.c (go_imported_unsafe): Update
optimization_default_node.
From-SVN: r268921
Diffstat (limited to 'gcc/go/go-backend.c')
-rw-r--r-- | gcc/go/go-backend.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/go/go-backend.c b/gcc/go/go-backend.c index 9422b0d..aaea330 100644 --- a/gcc/go/go-backend.c +++ b/gcc/go/go-backend.c @@ -89,6 +89,7 @@ void go_imported_unsafe (void) { flag_strict_aliasing = false; + TREE_OPTIMIZATION (optimization_default_node)->x_flag_strict_aliasing = false; /* Let the backend know that the options have changed. */ targetm.override_options_after_change (); |