On Thu, 14 Feb 2008, Joel Sherrill wrote:

> Alexandre Pereira Nunes wrote:
> > Also regarding ARM, PR31849
> > (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31849
> > <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31849>) is a show stopper,
> > at least for some embedded bare metal targets, i.e. arm-elf and
> > arm-none-eabi.
> > 
> > Until size optimization at least matches gcc 4.2, gcc 4.3 will have very
> > limited audience there. I'm not aware of gcc internals in order to help
> > with a fix, but I'm available to help testing, should anyone requires that.
> > 
> >   
> The m68k/coldfire is suffering from this regression the
> RTEMS community really would like to see resolved.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35088

Please try this patch; I've had it around for a while for what looks like 
a similar problem on m68k-uclinux but haven't got round to doing the 
necessary regression testing (and didn't know the bug in question was a 
regression, or have a reduced testcase).  (Is it a regression?  That bug 
isn't marked as such, and only regression fixes are going on trunk at 
present.)

2007-09-26  Joseph Myers  <[EMAIL PROTECTED]>

        * 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'.  */

-- 
Joseph S. Myers
[EMAIL PROTECTED]

Reply via email to