This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [cxx-mem-model] Handle x86-64 with -m32
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Andrew MacLeod <amacleod at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 20 Oct 2011 22:38:51 +0000 (UTC)
- Subject: Re: [cxx-mem-model] Handle x86-64 with -m32
- References: <4EA08C57.7030204@redhat.com>
On Thu, 20 Oct 2011, Aldy Hernandez wrote:
> These operations don't exist on x86-32 bits, and when running multilibed
> tests, the target is still x86_64-unknown-linux-gnu but the target is 32-bits
> when using -m32.
Any test that only handles one of x86_64-* and i?86-* is automatically
wrong; you can use -m64 with i?86-* targets. You always need to handle
both together.
Do these operations exist for x32 as well as for -m64? If they do, then
lp64 isn't the right test either; if not, then it is.
--
Joseph S. Myers
joseph@codesourcery.com