On Friday 11 January 2008 11:38, Andrew Hutchinson wrote: > I tried they earlier example: > > char *p1 = x; > foo(p1++); > foo(p1++); > foo(p1++); [...] > I am not experienced enough to know why gcc cannot optimise this case. > But it looks like a weakness with gcc (not gcc-avr)
Possible, yes. Some another targets of GCC 4.2.2: pdp11 --> ugly arm/thumb --> ugly arm/arm --> OK Regards, Dmitry _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
