[Bug c++/27045] c++ is generating incorrect optimized code for xor operations on long long

graham dot stott at btinternet dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 5 16:00:00 GMT 2006



------- Comment #5 from graham dot stott at btinternet dot com  2006-04-05 16:00 -------
Subject: Re:  c++ is generating incorrect optimized code for xor operations on
long long

All,

Not a bug, this is yet another case of type pruning.

Use -fno-strict-aliasing or fix your code.

Graham


-- 


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



More information about the Gcc-bugs mailing list