avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #18565] Trouble with memset


From: Dmitry Xmelkov
Subject: [avr-libc-dev] [bug #18565] Trouble with memset
Date: Thu, 21 Dec 2006 01:53:13 +0000
User-agent:

Follow-up Comment #1, bug #18565 (project avr-libc):

Yes, it is. However, this is not an Avr-libc bug, this is an Avr-gcc bug
in case of builtin memset() function.
I have try a set of versions:
        avr-gcc 3.3.5  - OK, loop counter is separate register pare
        avr-gcc 3.4.4, 4.0.2, 4.1 (prerelease)  - false code.

Compiler options: -W -Wall -Os -S
Test program:
    void * memset (void *buf, int val, unsigned int n);
    void foo (void)
    {
        memset ((char *)0x4000, 0, 0x4000);
    }

To author: whether you can to open this bug at gcc-bugzilla?

P.S. Personaly, I use for end products the 3.3 branch in general. :-)


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?18565>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]