This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14725] New: gcc-3.3.3-hammer has issues with -fstrict-aliasing
- From: "lu_zero at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Mar 2004 01:28:32 -0000
- Subject: [Bug optimization/14725] New: gcc-3.3.3-hammer has issues with -fstrict-aliasing
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The code that before compiled just fine with -fstrict-aliasing (included in -O2)
now misbehaves. I'm not sure if that is a bug or is just happening what was
warned since ages about type-punning.
a code snip little enough could be find in openssl-0.9.7d:
crypto/pem/pem_lib.c : 481
if (!load_iv((unsigned char **)&header,&(cipher->iv[0]),enc->iv_len)) return(0);
Interesting enough that happens just on the hammer tree (tested against the
20040322 cvs)
--
Summary: gcc-3.3.3-hammer has issues with -fstrict-aliasing
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lu_zero at gentoo dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-unknown-linux-gnu
GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14725