[cxx-mem-model] Handle x86-64 with -m32

Joseph S. Myers joseph@codesourcery.com
Fri Oct 21 01:31:00 GMT 2011

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

More information about the Gcc-patches mailing list