This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33915] New: iv folding fails with pointer iterations
- From: "dj at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Oct 2007 20:03:52 -0000
- Subject: [Bug tree-optimization/33915] New: iv folding fails with pointer iterations
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
void
cyg_hal_plf_serial_write(void* __ch_data, const unsigned char* __buf,
unsigned long __len)
{
while(__len-- > 0)
cyg_hal_plf_serial_putc(__ch_data, *__buf++);
}
cc1 -O3 -mcpu=m32c dj.c
fails in build2_stat trying to add two pointers.
See also http://gcc.gnu.org/ml/gcc/2007-10/msg00435.html
--
Summary: iv folding fails with pointer iterations
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: rakdver at kam dot mff dot cuni dot cz
ReportedBy: dj at redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m32c-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33915