[Bug optimization/11916] Arm optimizer, Missing increment of char pointer
matrix at o3games dot com
gcc-bugzilla@gcc.gnu.org
Thu Aug 14 10:43:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11916
------- Additional Comments From matrix at o3games dot com 2003-08-14 10:43 -------
Another solution to the problem
pMem+=3;pMem-=2; instead of pMem++;
this will be optimized down to a 'add r0,r0,#1'.
seams to be a problem with incrementing a pointer with one.
More information about the Gcc-bugs
mailing list