On Fri, Jun 03, 2005 at 11:14:15AM +0200, Jakub Jelinek wrote: > On Fri, Jun 03, 2005 at 02:07:57AM -0700, Mark Mitchell wrote: > > >Doesn't "is-effective-target ilp32" test for 32 bits int? > > > > Good point! I forgot about that. My brain is stuck in some other year. > > > > That doesn't let you adjust the test based on the compiler, but it does > > let you skip tests that aren't appropriate. > > struct-layout-1 tests are certainly supposed to work on lp64 targets as > well and many others though, so requiring ilp32 is a wrong thing to do > there.
Isn't there a test for lp64 as well? I think that structure layout tests should only be run on ilp32 or lp64 platforms; other oddball platforms are unlikely to be consistent with such tests.