diff options
author | Richard Henderson <rth@redhat.com> | 2002-06-16 21:45:58 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-06-16 21:45:58 -0700 |
commit | e83f3cffaf4b77e976e22ab43c59a85abe622e43 (patch) | |
tree | a27a7f709ba8288c98dcbba37e7f28dd9ea7d1f7 | |
parent | c458bd737d4bdbf81c11d37c451d7812684b1caf (diff) | |
download | gcc-e83f3cffaf4b77e976e22ab43c59a85abe622e43.zip gcc-e83f3cffaf4b77e976e22ab43c59a85abe622e43.tar.gz gcc-e83f3cffaf4b77e976e22ab43c59a85abe622e43.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ea3f3f..2d2729e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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 * regclass.c (globalize_reg): Update regs_invalidated_by_call. diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 2a85ff6..c2961b6 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 |