This is the mail archive of the gcc-bugs@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]

i386-elf issue has PR number already


Just after sending the report, I found PR9638 while searching gnats.
It has another fix which I don't think Richard will like based upon 
the comment last Friday.

PATCH-BEGIN
diff -Naur gcc-3.2.2.ori/gcc/config/i386/i386elf.h
gcc-3.2.2/gcc/config/i386/i38
6elf.h
--- gcc-3.2.2.ori/gcc/config/i386/i386elf.h     Thu Dec 20 18:36:35 2001
+++ gcc-3.2.2/gcc/config/i386/i386elf.h Sun Feb  9 19:08:39 2003
@@ -39,6 +39,8 @@
 #define RETURN_IN_MEMORY(TYPE) \
   (TYPE_MODE (TYPE) == BLKmode \
    || (VECTOR_MODE_P (TYPE_MODE (TYPE)) && int_size_in_bytes (TYPE) ==
8))
+#undef DEFAULT_PCC_STRUCT_RETURN
+#define DEFAULT_PCC_STRUCT_RETURN 1

 /* This used to define X86, but james at bigtex dot cactus dot org says that
    is supposed to be defined optionally by user programs--not by
default.  */
PATCH-END

Doesn't matter which particular fix is implemented -- i386elf.h, i386.h
or i386.c.  The important thing is that i386-elf and i386-rtems don't
build
in 3.2.2 or (as of last week) on the 3.3 branch.  Richard since you had
a preference, it would be greatly appreciated if you would just commit
the
fix you want. :)

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp dot com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985


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