gcc 3.4.3 bug C++/inlines/thumb
Paul Brook
paul@codesourcery.com
Sat Mar 19 16:53:00 GMT 2005
On Saturday 19 March 2005 07:51, Carl van_Schaik wrote:
> I'm running into a bug with gcc 3.4.3:
>
> I've got syscall code for user-land to our kernel that trashes r14/lr.
> The code is inlined, and works find in ARM mode. When compiling in thumb,
> gcc does not preserve lr. With an older gcc 3.3.3, the code was not
> inlined, but generated correctly.
This has been fixed in later versions by this patch:
http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01739.html
Paul
More information about the Gcc
mailing list