i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
authorRichard Henderson <rth@redhat.com>
Mon, 17 Jun 2002 04:45:58 +0000 (21:45 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 17 Jun 2002 04:45:58 +0000 (21:45 -0700)
        * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
        of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.

From-SVN: r54694

gcc/ChangeLog
gcc/config/i386/i386.h

index 6ea3f3fc371030ea24348d91b30ef9e10d418ce7..2d2729ea23952305fdea35acaaa19415dc1595d3 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-16  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
+       of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
+
 2002-06-16  Richard Henderson  <rth@redhat.com>
 
        PR opt/6722
index 2a85ff69f1a68a2a717ec4769b4169e781d48cb5..c2961b6c37fc19aeb8fd391ccebdcb81fd5d0785 100644 (file)
@@ -715,8 +715,15 @@ extern int x86_prefetch_sse;
    boundaries, so lower the aligment for structure fields unless
    -malign-double is set.  */
 
+/* ??? Blah -- this macro is used directly by libobjc.  Since it
+   supports no vector modes, cut out the complexity and fall back
+   on BIGGEST_FIELD_ALIGNMENT.  */
+#ifdef IN_TARGET_LIBS
+#define BIGGEST_FIELD_ALIGNMENT 32
+#else
 #define ADJUST_FIELD_ALIGN(FIELD, COMPUTED) \
    x86_field_alignment (FIELD, COMPUTED)
+#endif
 
 /* If defined, a C expression to compute the alignment given to a
    constant that is being placed in memory.  EXP is the constant