[Bug c++/51885] g++ compiler options -O2 and -O3 modifies program results
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51885 --- Comment #4 from Laurent MAURIN 2012-01-20 19:18:13 UTC --- i am quite sure there is something strange : reinterpret_cast is used to cast a float pointer to a uint32_t pointer these two types have the same size (4 bytes) therefore, the swap
[Bug c++/51885] New: g++ compiler options -O2 and -O3 modifies program results
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51885 Bug #: 51885 Summary: g++ compiler options -O2 and -O3 modifies program results Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED