]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* go-backend.c (go_imported_unsafe): Update
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Feb 2019 00:29:41 +0000 (00:29 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Feb 2019 00:29:41 +0000 (00:29 +0000)
optimization_default_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268921 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/go/ChangeLog
gcc/go/go-backend.c

index ac2c2e185c96b4b7d1c920079182f54b64c43942..cb69c8cfb9bff678c91bb4ffbe0e37121928a05d 100644 (file)
@@ -1,3 +1,8 @@
+2019-02-14  Ian Lance Taylor  <iant@golang.org>
+
+       * go-backend.c (go_imported_unsafe): Update
+       optimization_default_node.
+
 2019-02-13  Ian Lance Taylor  <iant@golang.org>
 
        * go-gcc.cc: #include "opts.h".
index 9422b0d2b8a7b65652cb4f5c7571a361df8fea15..aaea330bd8ad0bcc6144076d9de15b2bbd20b727 100644 (file)
@@ -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 ();