[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Gcc bug??
From: |
Kang Tin LAI |
Subject: |
Re: [avr-gcc-list] Gcc bug?? |
Date: |
Thu, 11 Mar 2004 01:16:07 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
<x-flowed>
Hi,
I didn't read your message and codes very in detail, but I suspect it is the
naked function attribute problem.
> Pretty ugly. Worse, it appears to me that the Y register gets used to do an
> indirect store without being initialized. Since we don't what the state of Y
> was when the interrupt occurs, I suspect this is the cause of my memory
> corruption and crashes when running this unoptimized version.
Here is an old thread subjected "Not naked but "topless" functions?":
http://www.avr1.org/pipermail/avr-gcc-list/2002-October/002883.html
In the thread Larry has more details.
Hope help.
--
---
Kang Tin LAI <address@hidden>
-----
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list
</x-flowed>
- Re: [avr-gcc-list] Gcc bug??, (continued)
- Re: [avr-gcc-list] Gcc bug??,
Kang Tin LAI <=