http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56219
Bug #: 56219
Summary: avr-gcc-4.7.2 missing __uint24 loop optimisation
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56219
--- Comment #1 from demiurg_spb at freemail dot ru 2013-02-06 12:34:53 UTC ---
It would be optimal move outside loop all extra instructions, and use temp
register r0 more active.
ldi r24,0
ldi r25,lo8(4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56219
--- Comment #2 from demiurg_spb at freemail dot ru 2013-02-06 13:06:01 UTC ---
oops r0 - is call-clobbered:(
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56263
--- Comment #1 from demiurg_spb at freemail dot ru 2013-02-10 12:24:49 UTC ---
I think the next test case should also be considered.
const char __flash* const __flash names[] =
{
"flash_str1",
"flash_str2&quo
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56263
--- Comment #3 from demiurg_spb at freemail dot ru 2013-02-12 06:47:43 UTC ---
(In reply to comment #2)
> This cannot work because ISO/IEC TR18037 forces these literals into generic
> space.
>
ISO/IEC TR18037
5.1.2 Addr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56263
--- Comment #5 from demiurg_spb at freemail dot ru 2013-02-20 05:53:53 UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> >
>
> It's a shortcoming in the Embedded C
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56263
--- Comment #8 from demiurg_spb at freemail dot ru 2013-03-13 06:46:40 UTC ---
(In reply to comment #7)
> Sorry? I don't understand you last remark. Are you saying it is trivial to
> implement in the avr backend?
>
No. Imp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56164
Bug #: 56164
Summary: avr-gcc 4.7.2 fail with __flash keyword
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: critical
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56164
--- Comment #1 from demiurg_spb at freemail dot ru 2013-01-31 14:30:00 UTC ---
Created attachment 29316
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29316
testcase (zip-archive)