[Bug target/27593] bad code generation

2006-05-16 Thread philipp at marek dot priv dot at
--- 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

[Bug target/27593] bad code generation

2006-05-14 Thread philipp at marek dot priv dot at
--- 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

[Bug c/27593] New: bad code generation

2006-05-13 Thread philipp at marek dot priv dot at
ReportedBy: philipp at marek dot priv dot at GCC build triplet: i486-linux-gnu GCC host triplet: i486-linux-gnu GCC target triplet: avr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27593

[Bug c/27593] bad code generation

2006-05-13 Thread philipp at marek dot priv dot at
--- Comment #1 from philipp at marek dot priv dot at 2006-05-13 20:09 --- Created an attachment (id=11452) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11452action=view) The C file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27593

[Bug c/27593] bad code generation

2006-05-13 Thread philipp at marek dot priv dot at
--- Comment #2 from philipp at marek dot priv dot at 2006-05-13 20:09 --- Created an attachment (id=11453) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11453action=view) The Makefile -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27593

[Bug c/27593] bad code generation

2006-05-13 Thread philipp at marek dot priv dot at
--- Comment #3 from philipp at marek dot priv dot at 2006-05-13 20:10 --- Created an attachment (id=11454) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11454action=view) The preprocessor output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27593

[Bug c/27593] bad code generation

2006-05-13 Thread philipp at marek dot priv dot at
--- Comment #4 from philipp at marek dot priv dot at 2006-05-13 20:11 --- Created an attachment (id=11455) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11455action=view) The output (dump) file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27593