This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.4.3 bug C++/inlines/thumb
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Cc: "Carl van_Schaik" <navlrac at hotmail dot com>
- Date: Sat, 19 Mar 2005 13:14:21 +0000
- Subject: Re: gcc 3.4.3 bug C++/inlines/thumb
- Organization: CodeSourcery
- References: <BAY21-F139EB11DA0E2825AF7BAEFAA4B0@phx.gbl>
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