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.h: Add "interrupt_thread" attribute.


Hi,

On Sun, 13 May 2007, Andreas Schwab wrote:

> > http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01880.html
> 
> I think the patch is OK as is.

I still disagree, external API is one thing, but at least the 
implementation should be cleaned up.
It would add the following to m68k_compute_frame_layout():

+  bool interrupt_handler = func_kind == m68k_fk_interrupt_handler;
+  bool interrupt_thread = func_kind == m68k_fk_interrupt_thread;

which really belong in m68k_save_reg().

bye, Roman


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