This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sizeof(int) in testsuite
Am Freitag, 3. Juni 2005 10:48 schrieb Mark Mitchell:
> 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.
I had been posting a patch implementing an effective target keyword exactly
for this purpose. My patch has already been approved by Janis Johnson
(http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01922.html)
but it's not in the CVS tree now. Possibly, I should have asked somebody with
cvs access to commit the patch. Or is there a special procedure to follow for
having approved patches committed?
Yours,
Björn