This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/14725] New: gcc-3.3.3-hammer has issues with -fstrict-aliasing


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]