This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH m68k] Fix TRANSFER_FROM_TRAMPOLINE for -Werror


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]