On Sat, Apr 25, 2009 at 7:22 AM, edwintorok at gmail dot com <gcc-bugzi...@gcc.gnu.org> wrote:
> Hmm, looks like the only way out is for me to put #if defined(__GNUC__) && > (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) and use memcpy. > Either that or add a configure rule to add -fno-strict-aliasing. GCC has been able to optimize memcpy since at least 3.0.0 so using: #if (__GNUC__ >=3) Should be good enough (undefined macros are substituted with 0 in #if's). -- Pinski