From e83f3cffaf4b77e976e22ab43c59a85abe622e43 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 16 Jun 2002 21:45:58 -0700 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.h | 7 +++++++ 2 files changed, 12 insertions(+) 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 -- 2.30.2