This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: x86-64 ABI testsuite for GCC
On Mon, 20 Jun 2005, Michael Matz wrote:
> Is the i386 compiler when using -m64 really obeying the x86-64 ABI? I.e.
Yes, the back end does not distinguish between i386 with -m64 and x86_64
defaulting to -m64, and sol2-10.h does nothing to break the x86-64 ABI for
64-bit mode on i386-pc-solaris2.10* which I think is the only in-tree i386
target defaulting to -m32 but permitting -m64.
> -----------
> load_lib target-supports.exp
> if { (![istarget x86_64-*-*] && ![istarget i?86-*-*])
> || ![is-effective-target lp64] } then {
> return
> }
> -----------
>
> Does that look better?
That looks right.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)