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 c++/54972] O2 breaks something in 4.6.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> 2012-10-18 11:58:02 UTC ---
You need -Wstrict-aliasing=2.  Most likely lzo1x_decompress_safe overwrites the
beginning of dest when it tries to stuff a lzo_uint into the space allocated
for dest_len.  Use correct types.


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