Bug 5738 - openbox.m4 adds -fno-strict-aliasing
Status: RESOLVED FIXED
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2012-08-27 07:26 EDT by Julian Ospald (hasufell)
Modified: 2012-09-30 23:00:50 EDT
0 users

See Also:



Description Julian Ospald (hasufell) 2012-08-27 07:26:33 EDT
-fno-strict-aliasing should only be the last resort when it's impossible to fix strict-aliasing rules and can be a huge penalty. Even if gcc prints out warnings about broken strict-aliasing rules, it's not sure that there are actual runtime issues.

Building latest head without this flag and "-fstrict-aliasing" enabled does not reveal any warnings, so it's fairly safe to remove this flag.

https://dev.gentoo.org/~zmedico/portage/doc/ch06s10.html
Comment 1 Dana Jansens 2012-09-30 23:00:50 EDT
Thanks! This has been fixed in git for some time in ec304c9e433e4b1cedf924ca64d783f05db7d42d