This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14005] gcc rounds up when it should round down
- From: "lduncan at pillardata dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Feb 2004 18:51:18 -0000
- Subject: [Bug c/14005] gcc rounds up when it should round down
- References: <20040203184812.14005.lduncan@pillardata.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From lduncan at pillardata dot com 2004-02-03 18:51 -------
Created an attachment (id=5669)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5669&action=view)
test program demonstrating the problem
compile this test program without any gcc options to reproduce the problem.
There is a failing and passing test case, the only difference being the sign
bit on the address being rounded.
This test program is the "dot-i" version, i.e. after the pre-processor has
munged the file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14005