[Bug target/27556] Wrong code generation when cross compile for attiny2313

2006-05-12 Thread eweddington at cso dot atmel dot com
--- Comment #10 from eweddington at cso dot atmel dot com 2006-05-12 15:10 --- Subject: Re: Wrong code generation when cross compile for attiny2313 p dot mateja at sh dot cvut dot cz wrote: > In other words: Is there any way how to say to gcc that const arrays shoud > stay > just i

[Bug target/27556] Wrong code generation when cross compile for attiny2313

2006-05-11 Thread p dot mateja at sh dot cvut dot cz
--- Comment #9 from p dot mateja at sh dot cvut dot cz 2006-05-12 00:31 --- (In reply to comment #8) > (In reply to comment #7) > > (In reply to comment #3) > > > Pavel, the attiny2313 has 128 Bytes of SRAM. > > > > I know. But there has to be way how to address it's 2kB flash. > > I d

[Bug target/27556] Wrong code generation when cross compile for attiny2313

2006-05-11 Thread p dot mateja at sh dot cvut dot cz
--- Comment #8 from p dot mateja at sh dot cvut dot cz 2006-05-11 23:56 --- (In reply to comment #7) > (In reply to comment #3) > > Pavel, the attiny2313 has 128 Bytes of SRAM. > > I know. But there has to be way how to address it's 2kB flash. > I don't need the string in SRAM. To be

[Bug target/27556] Wrong code generation when cross compile for attiny2313

2006-05-11 Thread p dot mateja at sh dot cvut dot cz
--- Comment #7 from p dot mateja at sh dot cvut dot cz 2006-05-11 23:39 --- (In reply to comment #3) > Pavel, the attiny2313 has 128 Bytes of SRAM. I know. But there has to be way how to address it's 2kB flash. I don't need the string in SRAM. -- http://gcc.gnu.org/bugzilla/show_b

[Bug target/27556] Wrong code generation when cross compile for attiny2313

2006-05-11 Thread p dot mateja at sh dot cvut dot cz
--- Comment #6 from p dot mateja at sh dot cvut dot cz 2006-05-11 23:36 --- > What is needed is described on the GCC web site here: > > Please take a quick look. Sorry, I have already read that, but I had a very long day today. It's quite diffucult to deb

[Bug target/27556] Wrong code generation when cross compile for attiny2313

2006-05-11 Thread p dot mateja at sh dot cvut dot cz
--- Comment #5 from p dot mateja at sh dot cvut dot cz 2006-05-11 23:27 --- Created an attachment (id=11440) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11440&action=view) preprocessed file (*.i*) that triggers the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27556

[Bug target/27556] Wrong code generation when cross compile for attiny2313

2006-05-11 Thread eweddington at cso dot atmel dot com
--- Comment #4 from eweddington at cso dot atmel dot com 2006-05-11 22:05 --- Subject: Re: Wrong code generation when cross compile for attiny2313 p dot mateja at sh dot cvut dot cz wrote: > --- Comment #2 from p dot mateja at sh dot cvut dot cz 2006-05-11 21:42 > --- > (In

[Bug target/27556] Wrong code generation when cross compile for attiny2313

2006-05-11 Thread berndtrog at yahoo dot com
--- Comment #3 from berndtrog at yahoo dot com 2006-05-11 21:59 --- Pavel, the attiny2313 has 128 Bytes of SRAM. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27556

[Bug target/27556] Wrong code generation when cross compile for attiny2313

2006-05-11 Thread p dot mateja at sh dot cvut dot cz
--- Comment #2 from p dot mateja at sh dot cvut dot cz 2006-05-11 21:42 --- (In reply to comment #1) > That's not a complete testcase, which we need to reproduce/fix the bug. What do you need? Complete source is: cat >test.c < int main(void) { UBRRH = 0; UBRRL = 4;