On Thu, Jun 02, 2005 at 09:49:03PM -0400, DJ Delorie wrote: > > gcc.dg/compat/struct-layout-1_generate.c assumes sizeof(int) is 4. > This of course fails on any target where sizeof(int) is 2. They may > fail when sizeof(int) is 8 too, or at least they won't be testing the > full range of possibilities.
struct-layout-1_generate.c is run on the host, not on the target. And for hosts AFAIK GCC requires 32-bit int. Jakub