Skip to content

#674 strict-aliasing warnings with gcc-4.4

Metadata

Property Value
Reported by Carsten Gräser (graeser@math.fu-berlin.de)
Reported at Nov 30, 2009 15:34
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Steffen Müthing (steffen.muething@iwr.uni-heidelberg.de)
Last edited at Dec 12, 2013 10:11
Closed by Steffen Müthing (steffen.muething@iwr.uni-heidelberg.de)
Closed at Dec 12, 2013 10:11
Closed in version Unknown
Resolution Works for me
Comment There haven't been any real problems with strict aliasing for quite some time, so it should be safe to enable by now.

Description

If compiled with gcc-4.4 and '-O3 -Wstrict-aliasing' the grid checks test-ug and test-alu2dsimplex complain about violations of the strict aliasing rule.

Referring to http://gcc.gnu.org/gcc-4.4/porting_to.html gcc-4.4 seems to more strict.