Your code is wrong, you are violating aliasing rules. Use
-fno-strict-aliasing, or read up in the manual why the code is wrong.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ices.utexas.edu
www: http://www.ices.utexas.edu/~bangerth/