[Bug rtl-optimization/39510] [avr] missed optimisation with IO read and register variables

2009-03-27 Thread k dot kosciuszkiewicz+gcc at gmail dot com
--- Comment #5 from k dot kosciuszkiewicz+gcc at gmail dot com 2009-03-28 05:55 --- Created an attachment (id=17553) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17553&action=view) Preprocessed source of test case Created with "avr-gcc -v -save-temps -mmcu=att

[Bug rtl-optimization/39510] [avr] missed optimisation with IO read and register variables

2009-03-27 Thread k dot kosciuszkiewicz+gcc at gmail dot com
--- Comment #3 from k dot kosciuszkiewicz+gcc at gmail dot com 2009-03-27 17:47 --- Created an attachment (id=17545) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17545&action=view) Second test case with void functions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39510

[Bug rtl-optimization/39510] [avr] missed optimisation with IO read and register variables

2009-03-27 Thread k dot kosciuszkiewicz+gcc at gmail dot com
--- Comment #2 from k dot kosciuszkiewicz+gcc at gmail dot com 2009-03-27 17:46 --- I can't see how register usage and calling convention affect this. As I said before, this behaviour bit me in a naked interrupt handler, with no arguments and no return value. I'm attachi

[Bug rtl-optimization/39510] New: [avr] missed optimisation with IO read and register variables

2009-03-19 Thread k dot kosciuszkiewicz+gcc at gmail dot com
dBy: k dot kosciuszkiewicz+gcc at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39510

[Bug target/38423] [avr] function pointers in program memory have wrong addresses

2008-12-13 Thread k dot kosciuszkiewicz+gcc at gmail dot com
--- Comment #1 from k dot kosciuszkiewicz+gcc at gmail dot com 2008-12-14 00:10 --- My mistake, ICALL & IJMP instructions take word (not byte) addresses. Therefore the generated code is correct. Sorry for the noise. -- k dot kosciuszkiewicz+gcc at gmail dot com cha

[Bug c/38423] New: [avr] function pointers in program memory have wrong addresses

2008-12-05 Thread k dot kosciuszkiewicz+gcc at gmail dot com
Version: 4.3.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: k dot kosciuszkiewicz+gcc at gmail dot com GCC host triplet: x86-linux-gnu GCC target triplet

[Bug c/38209] [avr] branch optimisation generates worse code

2008-11-20 Thread k dot kosciuszkiewicz+gcc at gmail dot com
--- Comment #1 from k dot kosciuszkiewicz+gcc at gmail dot com 2008-11-21 06:05 --- Created an attachment (id=16730) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16730&action=view) Test case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38209

[Bug c/38209] New: [avr] branch optimisation generates worse code

2008-11-20 Thread k dot kosciuszkiewicz+gcc at gmail dot com
gcc dot gnu dot org ReportedBy: k dot kosciuszkiewicz+gcc at gmail dot com GCC build triplet: i386-linux-gnu GCC host triplet: i386-linux-gnu GCC target triplet: avr-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38209