This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/40603] unnecessary conversion from unsigned byte load to signed byte load
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2009 21:22:00 -0000
- Subject: [Bug target/40603] unnecessary conversion from unsigned byte load to signed byte load
- References: <bug-40603-17659@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from rearnsha at gcc dot gnu dot org 2009-07-22 21:22 -------
The transformation to signed char is done very early on (maybe even during
parsing). The 003t.original dump already contains:
if ((signed char) *(p + 8) >= 0)
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rearnsha at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40603