This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/23669] fold does convert (-a)/10 into a/-10.
- From: "mrnobo1024 at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Oct 2005 17:25:14 -0000
- Subject: [Bug middle-end/23669] fold does convert (-a)/10 into a/-10.
- References: <20050901020344.23669.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mrnobo1024 at yahoo dot com 2005-10-01 17:25 -------
Those expressions are only the same for floating point types.
f(-2147483648) == -214748364
f1(-2147483648) == 214748364
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23669