[Bug target/36494] Char arrays gets corrupted in avr programs.

2008-06-12 Thread martin at kfib dot org
--- Comment #5 from martin at kfib dot org 2008-06-12 09:13 --- Never mind, I will do it. I'm a total klutz and I apologize. This is very, very embarrassing. If someone ever have a similar problem, make sure they're not running avr-objcopy with the flag -j .text... -- martin

[Bug target/36494] Char arrays gets corrupted in avr programs.

2008-06-11 Thread martin at kfib dot org
--- Comment #3 from martin at kfib dot org 2008-06-11 21:13 --- Exact line for compiling is: avr-gcc -mmcu=atmega48 -Walltest.c -o test And now I'm very confused. I KNOW I've tried with and without optimization before and that it made no difference (or possibly I'm a major clutz

[Bug c/36494] New: Char arrays gets corrupted in avr programs.

2008-06-10 Thread martin at kfib dot org
Severity: major Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: martin at kfib dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36494