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