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 18:03:52 -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 18:03 -------
Ok, thank you for your explanation. We have a huge codebase and we just
increased the optimization level from -O to -O2 (together with -march=pentium3),
that's when this came up. Since most of this code has been around for a long
time (and not written by me) there is no way to guarantee that I caught all
these cases.
So I guess I'll just have to disable the strict aliasing option for now. Thanks
for all your help.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20269