This is the mail archive of the gcc@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: GCC 4.3.0 Status Report (2008-02-14)


On Fri, 15 Feb 2008, Ralf Corsepius wrote:

> > 2007-09-26  Joseph Myers  <joseph@codesourcery.com>
> > 
> > 	* config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define.
> > 
> > Index: gcc/config/m68k/m68k.h
> > ===================================================================
> > --- gcc/config/m68k/m68k.h
> > +++ gcc/config/m68k/m68k.h
> > @@ -317,6 +317,8 @@
> >  #define STRICT_ALIGNMENT (TARGET_STRICT_ALIGNMENT)
> >  #define M68K_HONOR_TARGET_STRICT_ALIGNMENT 1
> >  
> > +#define DWARF_CIE_DATA_ALIGNMENT -2
> > +
> >  #define INT_TYPE_SIZE (TARGET_SHORT ? 16 : 32)
> >  
> >  /* Define these to avoid dependence on meaning of `int'.  */
> > 
> 
> Thanks for the patch, I don't know if it does the "right thing(tm)", 
> but it at least lets building rtems succeed, i.e. it seems to solve
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35088)

In that case, OK to commit to trunk?

(The patch rationale is that 4-byte stack alignment is not always 
guaranteed on m68k/ColdFire, only 2-byte.)

-- 
Joseph S. Myers
joseph@codesourcery.com


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