OSDN Git Service

2004-09-16 Andrew Pinski <apinski@apple.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 2004 08:35:01 +0000 (08:35 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Sep 2004 08:35:01 +0000 (08:35 +0000)
        * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87591 138bc75d-0d04-0410-961f-82ee72b054a4

libobjc/ChangeLog
libobjc/encoding.c

index c10832b..232da9c 100644 (file)
@@ -1,3 +1,7 @@
+2004-09-16  Andrew Pinski  <apinski@apple.com>
+
+       * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
+
 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
index dba2032..7f71276 100644 (file)
@@ -92,6 +92,11 @@ Boston, MA 02111-1307, USA.  */
 #define target_flags not_target_flags
 static int __attribute__ ((__unused__)) not_target_flags = 0;
 
+/* Some ROUND_TYPE_ALIGN use ALTIVEC_VECTOR_MODE (rs6000 darwin).
+   Define a dummy ALTIVEC_VECTOR_MODE so it will not die.  */
+#undef ALTIVEC_VECTOR_MODE
+#define ALTIVEC_VECTOR_MODE(MODE) (0)
+
 
 /*  FIXME: while this file has no business including tm.h, this
     definitely has no business defining this macro but it