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: "bobm75 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2005 00:33:20 -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 bobm75 at gmail dot com 2005-03-02 00:33 -------
I read the documentation on -fstrict-aliasing and it makes sense to me why this
code breaks those rules. I just wonder why the compiler didn't warn about it,
since this seems to be a pretty straight forward case of aliasing happening.
Thanks for responding so quickly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20269