From: Richard Henderson Date: Mon, 17 Jun 2002 04:45:58 +0000 (-0700) Subject: i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e83f3cffaf4b77e976e22ab43c59a85abe622e43;p=gcc.git i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. From-SVN: r54694 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ea3f3fc371..2d2729ea239 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-16 Richard Henderson + + * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead + of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. + 2002-06-16 Richard Henderson PR opt/6722 diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 2a85ff69f1a..c2961b6c37f 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -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