This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23793] Unhealthy optimization. Accessing double with reinterpret_cast.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2005 12:29:02 -0000
- Subject: [Bug c++/23793] Unhealthy optimization. Accessing double with reinterpret_cast.
- References: <20050909075051.23793.martsummsw@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-09 12:29 -------
Mark as a dup of bug 21920 as this is an aliasing violation.
Use Falk's suggestion of signbit. It is defined as returning non-zero for negative bit being set.
*** This bug has been marked as a duplicate of 21920 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23793