<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Alien Isolation segfault after initial loading screen/video"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95026#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Alien Isolation segfault after initial loading screen/video"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95026">bug 95026</a>
from <span class="vcard"><a class="email" href="mailto:haagch@frickel.club" title="Christoph Haag <haagch@frickel.club>"> <span class="fn">Christoph Haag</span></a>
</span></b>
<pre>So I went ahead and tested my theory by setting CFLAGS and CXXFLAGS to "-O2"
and then to "-O1".
First:
CFLAGS: -O2 -Wall -std=c99 -Werror=implicit-function-declaration
-Werror=missing-prototypes -fno-strict-aliasing -fno-math-errno
-fno-trapping-math -fno-builtin-memcmp -g
CXXFLAGS: -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp -g
-> game crashes
Then:
CFLAGS: -O1 -Wall -std=c99 -Werror=implicit-function-declaration
-Werror=missing-prototypes -fno-strict-aliasing -fno-math-errno
-fno-trapping-math -fno-builtin-memcmp
CXXFLAGS: -O1 -Wall -fno-strict-aliasing -fno-builtin-memcmp
-> game does NOT crash
That's with gcc (GCC) 5.3.0 on archlinux.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>