Joseph S. Myers wrote:
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.)

First .. thanks.
I'm sorry it wasn't marked as a regression  Ralf and I were just
trying to file all gcc issues we spotted building tools
and RTEMS using the CVS.  If you don't file them, they don't
get any attention.  In the future I will try to make
sure we always mark them as regressions.

FWIW we have RPMs for cross RTEMS RPMs back to the
gcc 3.2 days so it is pretty easy for anyone to check if
something on a cross is a regression.  Depending on the
RTEMS version, there are normally 10-12 targets available.
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]


--
Joel Sherrill, Ph.D.             Director of Research & Development
[EMAIL PROTECTED]        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985


Reply via email to