This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20269] Optimizer problem with aliasing floating point variable
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2005 11:36:35 -0000
- Subject: [Bug c++/20269] Optimizer problem with aliasing floating point variable
- References: <20050301235056.20269.bobm75@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2005-03-02 11:36 -------
-Wstrict-aliasing can catch some, but you should not rely on it, because it
can't possibly catch all of them. You should read and understand how aliasing
works in ISO C and keep it in mind while writing the code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20269