[Bug c++/32067] template<class T> XOR-Swap(T &a, T &b); error with -O0 option

pluto at agmk dot net gcc-bugzilla@gcc.gnu.org
Thu May 24 11:31:00 GMT 2007



------- Comment #1 from pluto at agmk dot net  2007-05-24 12:31 -------
(In reply to comment #0)

> Any comment?

this is an example of undefined behaviour.
http://blogs.msdn.com/rick_schaut/archive/2004/03/06/85357.aspx


-- 


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



More information about the Gcc-bugs mailing list