This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12086] memcmp(i,j,4) should use word (SI) subtraction
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2003 08:46:05 -0000
- Subject: [Bug optimization/12086] memcmp(i,j,4) should use word (SI) subtraction
- References: <20030828030040.12086.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12086
------- Additional Comments From falk at debian dot org 2003-09-23 08:46 -------
Why do you think it would give wrong results? On big endian, it should work IMHO,
on little endian, you might also be able to do something on some platforms (see
http://gcc.gnu.org/ml/gcc-patches/2003-04/msg01723.html)