--
eweddington at cso dot atmel dot com changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Kno
--- Comment #8 from philipp at marek dot priv dot at 2006-05-16 08:20
---
If I remove the -funroll-loops, will it cause "better" code generation? I.e.
only save two registers at function start, and use just these two registers?
Can I achieve such an optimization without doing assembly m
--- Comment #7 from berndtrog at yahoo dot com 2006-05-15 20:19 ---
> - r19 is modified, but not saved
I can confirm this bug for 4.1 and trunk using this line:
avr-gcc -c -O1 bug.i -funroll-loops
The bug goes away when -funroll-loops is not used.
The bug first appeared in july 2005 on
--- Comment #6 from philipp at marek dot priv dot at 2006-05-15 05:17
---
CFLAGS:=-g -mmcu=$(MCU) -Wall -Wstrict-prototypes -O2 -mcall-prologues
-I/usr/avr/include -I/home/flip/cprogs/AVR/include -funroll-loops -save-temps
%.s: %.c
$(CC) $(CFLAGS) -Os -S $<
The .i results from
--- Comment #5 from berndtrog at yahoo dot com 2006-05-14 12:39 ---
> - r19 is modified, but not saved
Can you please give the exact command line you used to compile bug.i into
bug.o?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27593