avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] avr-gcc 4.5.3 in Debian/Ubuntu has call-prologues bug


From: Georg-Johann Lay
Subject: Re: [avr-gcc-list] avr-gcc 4.5.3 in Debian/Ubuntu has call-prologues bug
Date: Wed, 25 Jan 2012 16:28:51 +0100
User-agent: Thunderbird 2.0.0.24 (X11/20100302)

Dale Whitfield wrote:
> Hi,
> 
> A warning that this version has the bug as described and fixed by Georg
> below. The fix was targeted for 4.6.2
> 
> [avr]: call-prologues saving/restoring global register variables
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50289
> 
> avr-gcc 4.5.3 is in:
> Debian: wheezy(testing) and sid(unstable)
> Ubuntu: oneiric(current release) and precise(next release)
> 
> Compiling without -mcall-prologues appears to be fine.
> 
> I had no problems with 4.3.5 and since this bug can result in erratic
> behaviour (R7 global register is saved/restored by prolog/epilog when it
> shouldn't be), I was wondering whether there are any thoughts on the
> best action.
> 
> Either backport the fix to 4.5.x or move ahead to 4.6.x. Opinions?

That depends on your preferences. You see the patch attached to the PR, so you
can work out a backport of the fix based on it iy it's essential to you and you
don't want to move to a version that has the PR fixed.






reply via email to

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