This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/20445] garbage returned when trying to get the second word of a double value
- 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: 12 Mar 2005 21:23:53 -0000
- Subject: [Bug c/20445] garbage returned when trying to get the second word of a double value
- References: <20050312211834.20445.sumii@saul.cis.upenn.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-12 21:23 -------
You are violating C aliasing rules, try an union. Read http://gcc.gnu.org/bugs.html which show how to
deal with this.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20445