This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help with integrating my test program into dejagnu
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Daniel Santos <daniel dot santos at pobox dot com>
- Cc: Mike Stump <mikestump at comcast dot net>, gcc <gcc at gcc dot gnu dot org>, Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Date: Wed, 11 Jan 2017 18:25:08 +0000
- Subject: Re: Help with integrating my test program into dejagnu
- Authentication-results: sourceware.org; auth=none
- References: <4713c692-5a8c-e42b-6ab3-5a25cae42f7e@pobox.com> <EAD5EE00-1102-48D0-82BF-6155B76D4C17@comcast.net> <90a945da-94f8-3aea-3157-dea764d6efd6@pobox.com> <A71DC96A-4A5F-4F6D-85FD-D8CC82DE84C3@comcast.net> <d43f5a07-4ead-44fd-e90e-7a6709f467a4@pobox.com>
A test [istarget x86_64-*-gnu] is wrong; i?86-* -m64 should always be
handled exactly the same as x86_64-* -m64.
You need to work out which ABIs (-m32, -mx32, -m64) this testing is
meaningful for. Then, allow both x86_64- and i?86- targets, together with
an appropriate effective-target test ("lp64" to allow just -m64, for
example).
--
Joseph S. Myers
joseph@codesourcery.com