[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "nake
From: |
William \"Chops\" Westfield |
Subject: |
Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked." |
Date: |
Fri, 27 Jan 2012 09:51:56 -0800 |
On Jan 27, 2012, at 9:36 AM, Georg-Johann Lay wrote:
> OS_main/OS_task won't have the problem, but such functions cannot be used in
> .initN, of course. Except in the case where the code is in .init9 with custom
> startup code.
Which is exactly what optiboot is doing.
Perfect. "Problem" explained, workaround exists. Solved!
Using OS_main also causes the frame pointer to be set up, so while the code is
a big bigger than it could be, it is at least correct.
BillW
- Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", (continued)
- Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", William \"Chops\" Westfield, 2012/01/28
- Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", William \"Chops\" Westfield, 2012/01/28
- Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", Volker Kuhlmann, 2012/01/28
- Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", Georg-Johann Lay, 2012/01/28
Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", Georg-Johann Lay, 2012/01/26
Message not availableRe: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", Bill Westfield, 2012/01/27
Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", Weddington, Eric, 2012/01/27
Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", Georg-Johann Lay, 2012/01/30
Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", Weddington, Eric, 2012/01/30
Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", Johannes Bauer, 2012/01/27
Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked.", Joerg Wunsch, 2012/01/27