sizeof(int) in testsuite
Mark Mitchell
mark@codesourcery.com
Fri Jun 3 09:08:00 GMT 2005
Steven Bosscher wrote:
> On Friday 03 June 2005 10:48, Mark Mitchell wrote:
>
>>DJ Delorie wrote:
>>
>>>Do we have a standard way of telling the testsuite how big target
>>>types are, or some standard "this test assumes 32 bit int" dejagnu
>>>flag?
>>
>>I don't think we have any way of doing this at present. I could be
>>wrong, though. We could certainly add logic to compute this, using
>>techniques similar to those in target-supports.exp.
>
>
> 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.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304
More information about the Gcc
mailing list