This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.4] Fix PR fortran/17180


On Wed, Sep 01, 2004 at 09:25:48AM +0200, Eric Botcazou wrote:
> +#define MALLOC_ALIGNMENT  (BIGGEST_ALIGNMENT / BITS_PER_UNIT)

BIGGEST_ALIGNMENT may be non-constant.  I think for the support
library you need to do

struct test_alignment
{
  char x __attribute__((aligned));
};

#define MALLOC_ALIGNMENT	(sizeof (struct test_alignment))



r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]