Re: [avr-gcc-list] int (*256) optimization problem in avr-gcc 4.5.3

2012-02-08 Thread Joerg Wunsch
=?ISO-8859-2?Q?Pawe=B3_Stawicki?= wrote: > I switched to gcc-avr 4.3.5 and my problems are gone now :) Then please tell your package vendor about the bug, because it's one of the more severe bugs. He might either patch it (backporting the patch from GCC 4.6.x is simple), or just remove the AVR-

Re: [avr-gcc-list] int (*256) optimization problem in avr-gcc 4.5.3

2012-02-07 Thread Paweł Stawicki
Thanks for you reply, I switched to gcc-avr 4.3.5 and my problems are gone now :) Regards 2012/2/7 Joerg Wunsch > =?ISO-8859-2?Q?Pawe=B3_Stawicki?= wrote: > > > I found a issue in the optimization part of gcc-avr. > > This is GCC 4.5.1, but with a patch for bug #46779 (which is only > fixed in

Re: [avr-gcc-list] int (*256) optimization problem in avr-gcc 4.5.3

2012-02-06 Thread Joerg Wunsch
=?ISO-8859-2?Q?Pawe=B3_Stawicki?= wrote: > I found a issue in the optimization part of gcc-avr. If I run your code through my compiler, I get the following assembler output: ..global _Z1fv .type _Z1fv, @function _Z1fv: push r28 push r29 /* prologue: function */ /* fram