------- Comment #3 from contact at philipashmore dot com  2010-08-06 13:52 
-------
Maybe I should add that the 0.6.0-beta1 release in GIT passed uintptr_t - sized
structures by value and the compiler spotted the aliasing, which is why I
introduced the pointer -> uintptr_t -> pointer hacks to begin with.

Without passing structs by value the compiler doesn't report the aliasing
problems.

I'm being sincere when I say that if the compiler really can't spot aliasing
problems then -fno-strict-aliasing should be on by default.


-- 


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

Reply via email to