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


Eric Botcazou wrote:

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))



I now think the patch is not really correct because the pool is used on the host, not on the target if I understand correctly the F77 code.


So something modelled on ggc-page.c is probably needed.


Yes, let's go with this version. If you've tested it, please check it in and let me know.

Thanks,

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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