This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug math/688] Math error on a null sum operation: a =a + 0. !!
- From: "jakub at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Jan 2005 13:56:46 -0000
- Subject: [Bug math/688] Math error on a null sum operation: a =a + 0. !!
- References: <20050121134619.688.laurent.dagnac@atosorigin.com>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From jakub at redhat dot com 2005-01-21 13:56 -------
This has nothing to do with glibc FYI.
Your testcase is invalid.
Please study GCC manual about -fstrict-aliasing option (enabled at -O2 and above
by default), you are violating that. Furthermore, you really shouldn't overwrite
random memory at ((char*)&val) - 1.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sources.redhat.com/bugzilla/show_bug.cgi?id=688
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.