[Bug c/20445] garbage returned when trying to get the second word of a double value
sumii at saul dot cis dot upenn dot edu
gcc-bugzilla@gcc.gnu.org
Sat Mar 12 21:40:00 GMT 2005
------- Additional Comments From sumii at saul dot cis dot upenn dot edu 2005-03-12 21:40 -------
(In reply to comment #1)
> You are violating C aliasing rules, try an union. Read
http://gcc.gnu.org/bugs.html which show how to
> deal with this.
Oops, my double stupidity (forgetting the ISO rule _and_ overlooking the FAQ
entry)... Apology for bothering you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20445
More information about the Gcc-bugs
mailing list