https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89893

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #32 from Martin Liška <marxin at gcc dot gnu.org> ---
I can confirm it works for me with:

diff --git a/common.gypi b/common.gypi
index 9502e92..3d8f04f 100644
--- a/common.gypi
+++ b/common.gypi
@@ -195,8 +195,8 @@
                 'ldflags': ['<(pgo_use)'],
               },],
               ['enable_lto=="true"', {
-                'cflags': ['<(lto)'],
-                'ldflags': ['<(lto)'],
+                'cflags': ['<(lto) -fno-strict-aliasing'],
+                'ldflags': ['<(lto) -fno-strict-aliasing'],
               },],
             ],
           },],

Reply via email to