This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH m68k] Fix TRANSFER_FROM_TRAMPOLINE for -Werror
- From: Bernardo Innocenti <bernie at develer dot com>
- To: Gunther Nikl <gni at gecko dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>
- Date: Mon, 03 Nov 2003 23:23:37 +0100
- Subject: Re: [PATCH m68k] Fix TRANSFER_FROM_TRAMPOLINE for -Werror
- Organization: Develer S.r.l.
- References: <20031103170049.GA59550@lorien.int.gecko.de>
Gunther Nikl wrote:
{ \
- register char *a0 asm ("%a0"); \
+ register char *a0 asm ("%a0") = a0; \
This is... err... ugly. Couldn't you use __attribute__((used))
instead?
The rest of the patch looks fine.
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
Please don't send Word attachments - http://www.gnu.org/philosophy/no-word-attachments.html