This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] register variable miscompilation
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 19 May 2010 13:15:53 +0000 (UTC)
- Subject: Re: [PATCH] register variable miscompilation
- References: <201005191320.49872.paul@codesourcery.com>
For reference:
http://gcc.gnu.org/ml/gcc-patches/2009-05/msg01320.html
was a fix for an issue that would have been detected by this code, while
http://sourceware.org/ml/libc-ports/2010-04/msg00001.html
addresses a problem that would have been detected if the relevant asms had
made their use of r7 explicit. So this does help avoid a real issue with
Thumb-2 syscalls on ARM EABI Linux (where r7 is used for the syscall
number, and is also GCC's frame pointer).
--
Joseph S. Myers
joseph@codesourcery.com