Re: [Xenomai-core] gcc-4.6 issue

2011-08-12 Thread Daniele Nicolodi
On 12/08/11 01:18, Gilles Chanteperdrix wrote: The following patch seems to do the trick. It makes the assumption that when compiling with -fomit-frame-pointer, we have one more register, so the R constraint will always be able to avoid choosing eax, and eax will be free for the muxcode, so

Re: [Xenomai-core] Bug#637425: gcc-4.6 issue

2011-08-12 Thread Roland Stigge
Hi, On 08/12/2011 01:18 AM, Gilles Chanteperdrix wrote: The following patch seems to do the trick. It makes the assumption that when compiling with -fomit-frame-pointer, we have one more register, so the R constraint will always be able to avoid choosing eax, and eax will be free for the

Re: [Xenomai-core] gcc-4.6 issue

2011-08-12 Thread Gilles Chanteperdrix
Daniele Nicolodi wrote: On 12/08/11 01:18, Gilles Chanteperdrix wrote: The following patch seems to do the trick. It makes the assumption that when compiling with -fomit-frame-pointer, we have one more register, so the R constraint will always be able to avoid choosing eax, and eax will be

Re: [Xenomai-core] gcc-4.6 issue

2011-08-12 Thread Daniele Nicolodi
On 12/08/11 10:18, Daniele Nicolodi wrote: On 12/08/11 01:18, Gilles Chanteperdrix wrote: The following patch seems to do the trick. It makes the assumption that when compiling with -fomit-frame-pointer, we have one more register, so the R constraint will always be able to avoid choosing eax,